aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_compile.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-02-07Commentary++.David Walter Seikel1-0/+2
2012-02-05Fix things so the wire protocol can be functions in the LSL.lua file, and ↵David Walter Seikel1-1/+1
_LSL can go back to being local to the script.
2012-02-05Do script quitting differently, using the wire protocol method, which means ↵David Walter Seikel1-1/+1
I got to debug that.
2012-02-05Fix up the Lua output filenames and fake SID.David Walter Seikel1-2/+2
2012-02-05Implement the script main loop, and the script UUID, which we call SID, ↵David Walter Seikel1-1/+3
though for now it's only the file name.
2012-02-05Implement more of the state handling stuff, with copious comments.David Walter Seikel1-2/+2
2012-02-05Commentry.David Walter Seikel1-2/+2
2012-02-05Use the internal Lua compile function instead of the external compile ↵David Walter Seikel1-4/+44
program, and actually write the result to a file.
2012-02-05Merge doneParsing(), it's only used once.David Walter Seikel1-75/+70
2012-02-05Right shifts are arithmetic shifts.David Walter Seikel1-2/+2
2012-02-05Commentry clean ups.David Walter Seikel1-16/+11
2012-02-05Remove a lot of old cruft that is no longer needed. Including the ↵David Walter Seikel1-617/+157
eveluator, we can do that with test scripts now.
2012-02-05White space clean up.David Walter Seikel1-17/+18
2012-02-04Fix up rotation and vector subscripts in expressions and non plain assignments.David Walter Seikel1-9/+5
2012-02-04Comment new problem - dot operator not mixing too well with unplain assignments.David Walter Seikel1-14/+4
2012-02-04Implement typecasts when needed. Actually, doing some extras for the moment.David Walter Seikel1-2/+11
2012-02-04Set variables to a proper value if otherwised unitialized.David Walter Seikel1-2/+12
2012-02-04Cooment a problem with typecasting strings to integers.David Walter Seikel1-0/+18
2012-02-04Fix up constant variables and local crements.David Walter Seikel1-10/+20
2012-02-04Move the predefined Lua stuff into the new LSL.lua module, then actualy use it.David Walter Seikel1-14/+8
2012-02-04Track those functions and variables that are LSL constants.David Walter Seikel1-2/+13
2012-02-04Fix up "assignments in the middle of expressions is legal in LSL, but not in ↵David Walter Seikel1-46/+124
Lua" problem. Note, only got one of these in the test scripts, so leaving copious debugging shat laying around for further testing.
2012-02-04Prepend all our generated names with an underscore, might help stop name ↵David Walter Seikel1-25/+25
polution.
2012-02-04Make states actually work.David Walter Seikel1-6/+6
2012-02-03Implement basic states.David Walter Seikel1-6/+21
2012-02-03Assignments in the middle of expressions is legal in LSL, but not in Lua. ↵David Walter Seikel1-0/+35
Bump that problem until later.
2012-02-03Separate else and if if it's not an actual elseif.David Walter Seikel1-1/+1
2012-02-03Make it easier to debug misplaced ends.David Walter Seikel1-6/+9
2012-02-03Final part of the crement Lua implementation.David Walter Seikel1-17/+30
2012-02-03Forgot about labels.David Walter Seikel1-0/+9
2012-02-03Put assignments in their right place.David Walter Seikel1-8/+10
2012-02-03Properly implement Lua crements.David Walter Seikel1-53/+53
2012-02-03Translating crements to Lua is damned hard. Leaving it for later, but let ↵David Walter Seikel1-6/+6
it compile at least.
2012-02-03Comment even tricksier bit crement cases.David Walter Seikel1-1/+3
2012-02-03Commenting out the duplication of conditionals at the end.David Walter Seikel1-6/+7
2012-02-03Half arsed bit ops, does not even result in compilable Lua sometimes.David Walter Seikel1-8/+43
2012-02-03Switch to using LuaJIT for compiling.David Walter Seikel1-1/+1
2012-02-03End the file with something useful.David Walter Seikel1-0/+1
2012-02-03Implement Lua boolean operations.David Walter Seikel1-0/+6
2012-02-03Only slightly less half arsed state. lolDavid Walter Seikel1-2/+2
2012-02-03Half arsed Lua implementation of state and state change.David Walter Seikel1-5/+26
2012-02-03Properly convert special asignments, and not equals.David Walter Seikel1-1/+7
2012-02-03Actually Lua compile the result.David Walter Seikel1-1/+8
2012-02-03Don't put extra comma at end of function parameter list, Lua don't lik them ↵David Walter Seikel1-2/+4
there, but likes them in table definitions. shrugs
2012-02-03Take care of declerations without asignments.David Walter Seikel1-0/+8
2012-02-03Lua locals.David Walter Seikel1-0/+6
2012-02-03Half arsed Lua crement implementation.David Walter Seikel1-18/+81
2012-02-03LSL "else if" -> Lua "elseif", and it was a bitch. lolDavid Walter Seikel1-84/+53
2012-02-02More Lua conversions. For, if, else, elseif (sorta), and while.David Walter Seikel1-6/+116
2012-02-02More Lua conversions. Concatenate, function arguments and table elemnt ↵David Walter Seikel1-6/+27
separaters.