Closed (Visit : http://sa-mphost.net)

<strong><div align="center"><span style="color: #ff0033;"><span style="font-size: 18px;">Dear Users,

We Upgraded Our System And Changed Our SA-MP Free Hosting Website To (Http://sa-mphost.net)
Visit SA-MPHost.Net for Grabbing Your Server.

Thank You

Regards
Mohammad Owais (Ossi Baba)
CEO At OBHost.Org</span></span></div></strong>

Closed (Visit : http://sa-mphost.net)

Log in

I forgot my password

Latest topics

» SA:MP Server Application
Fri Oct 31, 2014 8:17 am by xCubic

» SERVER REQUEST {SAMP}
Wed Oct 01, 2014 8:58 am by Aditya

» my app
Wed Sep 17, 2014 8:48 pm by Ossi Baba

» Server App
Tue Sep 16, 2014 9:59 pm by Ossi Baba

» application
Tue Sep 16, 2014 9:59 pm by Ossi Baba

» NEED ROLEPLAY SCRIPT
Tue Sep 16, 2014 9:59 pm by Ossi Baba

» How to upload fraps video fast in youtube
Mon Sep 01, 2014 9:56 pm by Gramatik

» Hello
Wed Aug 06, 2014 4:40 pm by Snake_Eyes[DTBF]

» Application!
Mon Jul 28, 2014 9:07 am by Snake_Eyes[DTBF]

Poll

What About Our Hosting
89% 89% [ 117 ]
2% 2% [ 3 ]
3% 3% [ 4 ]
3% 3% [ 4 ]
2% 2% [ 3 ]

Total Votes : 131

Flag

Flag Counter

Who is online?

In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest

None


[ View the whole list ]


Most users ever online was 46 on Tue Feb 18, 2014 2:21 am

Statistics

Our users have posted a total of 861 messages in 368 subjects

We have 259 registered users

The newest registered user is xCubic


Requesting to add support of Squirrel language...

Share
avatar
Snake_Eyes[DTBF]
OBHost Member
OBHost Member

Posts : 44
Points : 16907
Reputation : 1
Join date : 2014-04-10
Location : Pakistan

Requesting to add support of Squirrel language...

Post by Snake_Eyes[DTBF] on Fri Apr 18, 2014 3:24 pm

Hi there, As we all know that OBHost is just supporting Pawn scripts, I would like to provide some suggestions and or points about the Squirrel Programming language;



Introduction(Short):
Squirrel is a high level imperative, object-oriented programming language, designed to be a light-weight scripting language that fits in the size, memory bandwidth, and real-time requirements of applications like video games. Although Squirrel offers a wide range of features like:
A short Overview:
Open Source MIT licence
dynamic typing
delegation
classes & inheritance
higher order functions
lexical scoping
generators
cooperative threads(coroutines)
tail recursion
exception handling
automatic memory management (CPU bursts free; mixed approach ref counting/GC)
both compiler and virtual machine fit together in about 7k lines of C++ code and add only around 100kb-150kb the executable size.
optional 16bits characters strings
powerful embedding api
eg. function/classes can be defined by scripts or in C
eg. objects can fully exist in the VM or be bound to native code
eg. classes created in C can be extended by scripts or vice-versa
and more
Squirrel is inspired by languages like Python,Javascript and especially Lua(The API is very similar and the table code is based on the Lua one)...


squirrel's syntax is similar to C/C++/Java etc... but the language has a very dynamic nature like Python/Lua etc...

Squirrel uses a C-like syntax.
Code:
local table = {
   a = "10"
   subtable = {
      array = [1,2,3]
   },
   [10 + 123] = "expression index"
}
 
local array=[ 1, 2, 3, { a = 10, b = "string" } ];
 
foreach (i,val in array)
{
   ::print("the type of val is"+typeof val);
}
 
/////////////////////////////////////////////
 
class Entity
{   
   constructor(etype,entityname)
   {
      name = entityname;
      type = etype;
   }
                           
   x = 0;
   y = 0;
   z = 0;
   name = null;
   type = null;
}
 
function Entity::MoveTo(newx,newy,newz)
{
   x = newx;
   y = newy;
   z = newz;
}
 
class Player extends Entity {
   constructor(entityname)
   {
      base.constructor("Player",entityname)
   }
   function DoDomething()
   {
      ::print("something");
   }
   
}
 
local newplayer = Player("da playar");
 
newplayer.MoveTo(100,200,300);         

VC:MP unofficial forum and SQ support official forum
Squirrel language voted as the best language in VC:MP Servers(Taken from Vice City official forums)
SQ has many functions it can also create a module, like here a module has been designed by C++ and a bit of SQ to add boots in VC:MP(Taken from Vice City official forums)
Only 1% servers of VC:MP are written in Pawn 1% C++ and 98% servers are written in Squirrel.

I hope you add the support of Squirrel Language


_________________________________________________
OBHost Helper

SaFeeR
VC-MP Moderator
VC-MP Moderator

Posts : 14
Points : 17108
Reputation : 1
Join date : 2014-03-17
Location : Pakistan

Re: Requesting to add support of Squirrel language...

Post by SaFeeR on Fri Apr 18, 2014 5:42 pm

Hello Snake_Eyes, I Know About Squirrel and im Also Squirrel Scripter.. and remaining thing is game panel did't support it i dont know why.. we are trying to fix it as soon as possible kindly wait

Thank You

-Safeer


_________________________________________________
VC-MP Moderator
avatar
Snake_Eyes[DTBF]
OBHost Member
OBHost Member

Posts : 44
Points : 16907
Reputation : 1
Join date : 2014-04-10
Location : Pakistan

Re: Requesting to add support of Squirrel language...

Post by Snake_Eyes[DTBF] on Sun Apr 20, 2014 7:15 am

Will this feature be added?


_________________________________________________
OBHost Helper

SaFeeR
VC-MP Moderator
VC-MP Moderator

Posts : 14
Points : 17108
Reputation : 1
Join date : 2014-03-17
Location : Pakistan

Re: Requesting to add support of Squirrel language...

Post by SaFeeR on Sun Apr 20, 2014 12:59 pm

Yes but you have to wait for it

Thank You

-SaFeeR


_________________________________________________
VC-MP Moderator
avatar
Snake_Eyes[DTBF]
OBHost Member
OBHost Member

Posts : 44
Points : 16907
Reputation : 1
Join date : 2014-04-10
Location : Pakistan

Re: Requesting to add support of Squirrel language...

Post by Snake_Eyes[DTBF] on Sun Apr 20, 2014 1:15 pm

How much?


_________________________________________________
OBHost Helper

SaFeeR
VC-MP Moderator
VC-MP Moderator

Posts : 14
Points : 17108
Reputation : 1
Join date : 2014-03-17
Location : Pakistan

Re: Requesting to add support of Squirrel language...

Post by SaFeeR on Sun Apr 20, 2014 1:36 pm

until we solve this problem


_________________________________________________
VC-MP Moderator

Sponsored content

Re: Requesting to add support of Squirrel language...

Post by Sponsored content


    Current date/time is Sun Nov 18, 2018 4:25 am