badfitz99
|
  |
| Joined: 01 May 2010 |
| Total Posts: 5854 |
|
| |
|
|
| 19 Jul 2014 01:10 PM |
a) Not a big deal
b) Still available on server
Stop whining about it, please. |
|
|
| Report Abuse |
|
|
|
| 19 Jul 2014 01:12 PM |
this slightly annoys me actually, it was very useful in admin commands since you could run whatever you like to debug or fix stuff without worrying about infinite loop crashing the whole server
but yeah its not that big of a deal, everything else should keep working, if anything that isnt admin commands or script builder breaks its shameful scripting and shouldnt have been allowed on this planet anyways |
|
|
| Report Abuse |
|
|
129K
|
  |
| Joined: 23 Aug 2011 |
| Total Posts: 19010 |
|
|
| 19 Jul 2014 01:15 PM |
"if anything that isnt admin commands or script builder breaks its shameful scripting and shouldnt have been allowed on this planet anyways"
Mind if I ask how SBs are shameful scripting? You should really elaborate before saying things that are completely untrue, asshat. |
|
|
| Report Abuse |
|
|
|
| 19 Jul 2014 01:17 PM |
"Mind if I ask how SBs are shameful scripting? You should really elaborate before saying things that are completely untrue, asshat."
Or maybe you should read more closely before calling someone an asshat ._. He didn't say script builders are shameful scripting, he said anything that _is not_ a script builder or admin command script that uses client loadstring is shameful scripting
~The herp lerped a derp~ |
|
|
| Report Abuse |
|
|
129K
|
  |
| Joined: 23 Aug 2011 |
| Total Posts: 19010 |
|
|
| 19 Jul 2014 01:18 PM |
@Filip
I think I read quite closely; it's blatant that he was making fun of my friend, Kohl, a famous DLL creator, who made an epic admin command script. So why don't you get off your alt, and talk to me face to face? |
|
|
| Report Abuse |
|
|
|
| 19 Jul 2014 01:21 PM |
Man, you're kinda jumping to conclusions here. Get a drink, cool down, and then come back lol This is my one and only account :P
~The herp lerped a derp~ |
|
|
| Report Abuse |
|
|
129K
|
  |
| Joined: 23 Aug 2011 |
| Total Posts: 19010 |
|
| |
|
|
| 19 Jul 2014 01:28 PM |
"Mind if I ask how SBs are shameful scripting?"
or that ...
not that I don't hate SBs, but I can see why people use loadstring() there |
|
|
| Report Abuse |
|
|
|
| 19 Jul 2014 03:31 PM |
Couldn't you just use another method of parsing strings?
Just look at Databrain's admin commands script, specifically ;s and ;ls. |
|
|
| Report Abuse |
|
|
|
| 19 Jul 2014 04:03 PM |
@Coolio Speaking of that, im making a Lua Interpreter right now. Wich is using string parsing to create a custom loadstring. |
|
|
| Report Abuse |
|
|
129K
|
  |
| Joined: 23 Aug 2011 |
| Total Posts: 19010 |
|
|
| 19 Jul 2014 04:15 PM |
| Lawl u cant make a LUA Parser if its in dll's |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 19 Jul 2014 04:38 PM |
@dogwarrior
Eww, don't use Lua string matching to make a loadstring function.
Just port Lua's C code to Lua. (That sounds amazingly awesome.) |
|
|
| Report Abuse |
|
|
|
| 19 Jul 2014 05:33 PM |
Port Lua's C code to Lua? I doubt it's that simple. Lua's C implementation likely makes use of low-level features that Lua doesn't have (and permissions RBX.Lua will never see). A Lua implementation would be very different, and if you just translated the C, a lot of it would be unnecessary since you already have all the Lua features in Lua (well duh)
|
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 19 Jul 2014 05:34 PM |
well
it was already ported to C#, and C# is one step closer to Lua from C, sooo...
I suppose it's possible. |
|
|
| Report Abuse |
|
|
|
| 19 Jul 2014 05:34 PM |
Not to mention you'd also have to rewrite any Lua standard library thingys you want to use in Lua
so yea not gonna happen but you can try |
|
|
| Report Abuse |
|
|
|
| 19 Jul 2014 05:38 PM |
"it was already ported to C#, and C# is one step closer to Lua from C, sooo..."
But C# has a lot that Lua (especially RBX.Lua) doesn't
(btw: I'm not saying it's hard to implement a Lua interpreter in Lua, I'm saying you're better off doing something other than a direct translation of C) |
|
|
| Report Abuse |
|
|
|
| 19 Jul 2014 05:42 PM |
| If you -really- want to do that... just make an interpreter for the bytecode, because I mean, we can just ask the server to return the compiled form of it (use HttpService to ask some server to compile it and return the resultant bytecode). You now do not have to write the parser at all, just the interpreter. |
|
|
| Report Abuse |
|
|
|
| 19 Jul 2014 05:43 PM |
| ^^^^^^^^^ good idea ^^^^^^^^^ |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 20 Jul 2014 05:58 AM |
@LuaWeaver
Okay - lemme look at how Lua compiles without interpreter support, so you can only use compiled lua files. |
|
|
| Report Abuse |
|
|
LuaSir
|
  |
| Joined: 30 Mar 2014 |
| Total Posts: 40 |
|
|
| 20 Jul 2014 06:14 AM |
With a shell, it should be really easy. Here's a simple example.
cat - > example.lua luac -o example.luac example.lua
That'll read from stdin and put it into example.lua, then compile example.lua and spit the output straight to example.luac. You could of course directly compile stdin.
luac -o example.luac -
But for whatever reason, it's not working for me. |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 20 Jul 2014 06:31 AM |
this may also be related:
lua-users (dot) org (slash) lists (slash) lua-l (slash) 2010-03 (slash) msg00775 (dot) html |
|
|
| Report Abuse |
|
|