Oysi
|
  |
| Joined: 06 Jul 2009 |
| Total Posts: 9058 |
|
| |
|
Oysi
|
  |
| Joined: 06 Jul 2009 |
| Total Posts: 9058 |
|
| |
|
stravant
|
  |
 |
| Joined: 22 Oct 2007 |
| Total Posts: 2893 |
|
|
| 15 Feb 2012 05:40 PM |
| I don't see why you want to replace things to use "{}" instead of adding more actual useful syntax like macros. |
|
|
| Report Abuse |
|
|
Varp
|
  |
| Joined: 18 Nov 2009 |
| Total Posts: 5333 |
|
|
| 15 Feb 2012 05:40 PM |
What if you want to use do...end to create a scope?
local f do local t = {} f = function(x) if(t[x])then return t[x] end if(x <= 0)then return 1 end t[x] = f(x-1) * x return t[x] end end print(f(5))
|
|
|
| Report Abuse |
|
|
Ozzypig
|
  |
| Joined: 27 Mar 2008 |
| Total Posts: 4906 |
|
|
| 15 Feb 2012 05:46 PM |
| @stravant some people like the fact braces are only one character to type. others don't even want to type braces - they program python. |
|
|
| Report Abuse |
|
|
Oysi
|
  |
| Joined: 06 Jul 2009 |
| Total Posts: 9058 |
|
| |
|
Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 16 Feb 2012 02:03 AM |
We complain that stuff is locked. Now we complain stuff works. :P
Anyway, didn't someone make a 'Lua to Java' thing? |
|
|
| Report Abuse |
|
|
| |
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 16 Feb 2012 11:08 AM |
@Quenty, yes, but to say the least -it really isn't the best conversion (and not too hard to do, anyway).
roblox.com/_-place?id=11593502 |
|
|
| Report Abuse |
|
|
Oysi
|
  |
| Joined: 06 Jul 2009 |
| Total Posts: 9058 |
|
| |
|
Oysi
|
  |
| Joined: 06 Jul 2009 |
| Total Posts: 9058 |
|
| |
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 16 Feb 2012 12:59 PM |
Of course it would be impossible, but you can do what curt had done and simply convert some syntax using gsub
<'+1 Post. Ujelly?'> |
|
|
| Report Abuse |
|
|
Oysi
|
  |
| Joined: 06 Jul 2009 |
| Total Posts: 9058 |
|
| |
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 16 Feb 2012 01:41 PM |
And that's where it becomes impossible.
..Or you're very, very good with string manipulation.
<'+1 Post. Ujelly?'> |
|
|
| Report Abuse |
|
|
| |
|
| |
|