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: Writing a scripting language... INSIDE LUA!

Previous Thread :: Next Thread 
NotAshley is not online. NotAshley
Joined: 16 Jan 2014
Total Posts: 14257
30 Aug 2015 12:27 AM
I know it would be pointless but it'd be very very fun. Imagine a script builder with its own custom language.

It's not rocket science. The other day I saw an intermediate tutorial for writing a basic scripting language inside javascript and thought "that could work Lua easily!"
Report Abuse
Froast is not online. Froast
Joined: 12 Mar 2009
Total Posts: 3134
30 Aug 2015 12:29 AM
lua is already slow and high-level enough
a language made on top of it would be even slower
Report Abuse
KoreanBBQ is not online. KoreanBBQ
Joined: 06 Mar 2015
Total Posts: 1436
30 Aug 2015 12:29 AM
simplify lua?
good luck


~TreeBranch, Owner of Lady of the Federation x2+ Crown of Roses
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
30 Aug 2015 12:42 AM
I already did this, it was my own very basic, integer-based language.
Originally created in C, I decided it would be fun to port it to Lua because "why not".

However, the speed difference was DRAMATIC, I had to simulate certain bitwise operations and other stuff which made things far slower.

In simple: not really a good idea unless you're doing it for fun. Keep SB's using Lua and not a custom language.
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
30 Aug 2015 01:03 AM
XD

Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
30 Aug 2015 01:07 AM
'I had to simulate certain bitwise operations'
such as?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
30 Aug 2015 01:11 AM
shl, shr, AND, and a couple of functions that had to translate a byte array into either an integer or float and vice-versa
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
30 Aug 2015 01:14 AM
Ahh, nothing too difficult then.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
30 Aug 2015 01:19 AM
I don't think any bitwise operation or 'conversion' would be hard, ofc. a 8-byte array to 8-byte integer is impossible normally which saddens my dear cold and dead heart.
Report Abuse
PIanetOfTheGrapes is not online. PIanetOfTheGrapes
Joined: 19 Aug 2015
Total Posts: 606
30 Aug 2015 01:52 AM
[ Content Deleted ]
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
30 Aug 2015 01:54 AM
Funny enough, all of the languages I designed were compiled to bytecode, it's just a fun idea since you can get more speed if you precompile your code (like Lua and Java and Python and a bunch of other languages)
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