generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: I am making a new language in Lua

Previous Thread :: Next Thread 
ClickAltF4 is not online. ClickAltF4
Joined: 01 Aug 2013
Total Posts: 46
03 Mar 2015 01:28 AM
For project to get into for the lua division group I have to make a language so it look so far like:

@varname es value
it set variable varname equal to value

que ( @varname, 4)
if varname is 4 the next line will run or it skip

noque is like que and spaces optionle every where here is patterns i am use for some:

@varname[1 or more space]es[1 ore more space]value
^@(%w+)%s+es%s*(@*%w+)$

so far i am only add:
define varible, not/compare (var to var or var to val or val to var or val to val (@ mean variable))
add/minus/times/division is like:
+ (@var, var/val) so require var for first peremeter. and i have output it prints
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
03 Mar 2015 01:42 AM
my main group?
Report Abuse
ClickAltF4 is not online. ClickAltF4
Joined: 01 Aug 2013
Total Posts: 46
03 Mar 2015 01:43 AM
yes that is the one i am almost done x)
Report Abuse
ClickAltF4 is not online. ClickAltF4
Joined: 01 Aug 2013
Total Posts: 46
03 Mar 2015 02:06 AM
I am done!
it very simple but cool, only has declare, compare, not compare (~=), add minus times division and print

So
x = 5
y = 10
x = x + y
print(x)

Work like:
@x es 5
@y es 10
+(@x, @y)
hablar(@x)

So far it work :)
Report Abuse
ClickAltF4 is not online. ClickAltF4
Joined: 01 Aug 2013
Total Posts: 46
03 Mar 2015 02:09 AM
It can compare value but I did not added:
'Exponential Declaration(^, 5^2 = 25)
Unary Negation(-, 5 = 5, -5 = -5)
Modulus(%, 100%5 = 20)'

yet it is easy though to add
Report Abuse
ClickAltF4 is not online. ClickAltF4
Joined: 01 Aug 2013
Total Posts: 46
03 Mar 2015 02:24 AM
okay done i also add comments use "#"

# comment: x = 5
@x es 5
# another comment y = 10
@y es 10
# x = x + (y ^ 2) (x = 5 + (100) = 105)
@z es @y
^(@z, 2)
+(@x, @z)
# print x
hablar(@x)

printed 105

I use variable z because i don't want to change y :)
Report Abuse
ClickAltF4 is not online. ClickAltF4
Joined: 01 Aug 2013
Total Posts: 46
03 Mar 2015 09:51 PM
i finished guys it is here; http://www.roblox.com/ClickAltF4s-Place-place?id=124860265

i am sorry about ugly G.U.I.
Report Abuse
ChiefDelta is not online. ChiefDelta
Joined: 05 Nov 2010
Total Posts: 13071
04 Mar 2015 12:06 AM
This is awful
Report Abuse
ClickAltF4 is not online. ClickAltF4
Joined: 01 Aug 2013
Total Posts: 46
04 Mar 2015 12:11 AM
it was concept using string pattern, if you do not like i am sorry but is not meant to please you, i use only string pattern something i never see you ever do on her
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image