aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* Move more things into the LSL_Leaf structure, and some clean up related to that.David Walter Seikel2012-01-104-173/+173
|
* Almost got white space and comments working. Still a bug left somewhere, I ↵David Walter Seikel2012-01-105-211/+249
| | | | think it's in operations ordering.
* Hmmm, we have a circular dependencie with the include fiels each of flex and ↵David Walter Seikel2012-01-091-0/+9
| | | | btyacc generate. So run btyacc twice.
* A little format cleanup.David Walter Seikel2012-01-091-8/+5
|
* Doesn't hurt, but does not fix it either. Gives me an idea though.David Walter Seikel2012-01-091-2/+2
|
* The other half of the comment scanner.David Walter Seikel2012-01-091-3/+16
|
* Moved yyerror() into the flex source. Added a count function, CHAR, STRING, ↵David Walter Seikel2012-01-092-8/+34
| | | | | | and comment stripping. Well, half of comment stripping, it will fail without the other half. lol
* Missed this.David Walter Seikel2012-01-091-0/+1
|
* Added ANSI C flex and yacc files, just for reference.David Walter Seikel2012-01-092-0/+653
|
* One of these days I'll get spaces to work. Another hack at it.David Walter Seikel2012-01-092-5/+12
|
* Implement script, and add YYVALID for statement to help with recovering from ↵David Walter Seikel2012-01-091-1/+6
| | | | errors.
* Turn btyacc debugging back on, it's fine now.David Walter Seikel2012-01-091-2/+1
|
* Missed a keyword.David Walter Seikel2012-01-091-0/+1
|
* Add most of the rest of the tokens, but ignore them.David Walter Seikel2012-01-093-54/+118
|
* Rearrange everything, to be consistant order.David Walter Seikel2012-01-084-165/+193
|
* Bite the bullet and get rid of my dreams to use enums, yacc insists on #defines.David Walter Seikel2012-01-082-119/+26
|
* Apparently order of these ALSO sets precedence. shrugsDavid Walter Seikel2012-01-081-10/+10
|
* Use character classes, some clean up. Tried to add space storing, but it ↵David Walter Seikel2012-01-084-31/+46
| | | | did not work.
* Parenthesis and statement parsing.David Walter Seikel2012-01-085-8/+76
|
* Parse an actual file.David Walter Seikel2012-01-084-50/+130
|
* Forget to save first. lolDavid Walter Seikel2012-01-071-0/+1
|
* More expression cleanup.David Walter Seikel2012-01-072-158/+169
|
* Clean up. exp -> ast. No more addExpression or outputExpression. ↵David Walter Seikel2012-01-072-112/+102
| | | | Operations output themselves.
* We don't need LSL_Expression.David Walter Seikel2012-01-072-45/+12
|
* Evaluate expressions using the new token table.David Walter Seikel2012-01-072-155/+126
|
* Make the parser more generic with function pointers and a big arse table.David Walter Seikel2012-01-073-204/+209
|
* No need to actually compile the LSL flex and yacc sources, they are just ↵David Walter Seikel2012-01-071-10/+0
| | | | reference now. I'll be writing me own.
* Convert the parser from dealing with just expressions, to dealing with the ↵David Walter Seikel2012-01-075-237/+245
| | | | entire AST.
* Flex performance tweaks, and other options.David Walter Seikel2012-01-063-12/+17
|
* Added most of the expression parser.David Walter Seikel2012-01-063-33/+84
|
* Precedence changes.David Walter Seikel2012-01-061-2/+1
|
* Remove errant empty line.David Walter Seikel2012-01-061-1/+0
|
* Folded this code into the rest of the C file, but forgot to remove the file.David Walter Seikel2012-01-061-22/+0
|
* Even more debugging stuff, and make it selectable if the parser uses ↵David Walter Seikel2012-01-064-122/+207
| | | | | | #defines or enums for tokens. NOTE - enum does not work anyway with btyacc.
* Add more debugging stuff.David Walter Seikel2012-01-063-19/+22
|
* Use the LSL_ enums for parser tokens. Some clean up and debugging.David Walter Seikel2012-01-066-148/+148
| | | | OK, so the parsers prefer to make them defines instead of enums. sigh
* Add more LSL parsing structure.David Walter Seikel2012-01-066-114/+558
|
* Update the not yet used real parser includes to.David Walter Seikel2012-01-052-19/+13
|
* Consolidate the parser includes.David Walter Seikel2012-01-056-89/+75
|
* Bit more cleanup.David Walter Seikel2012-01-051-6/+8
|
* Clean up the parser.David Walter Seikel2012-01-053-142/+100
|
* Remove most of the constants, we can put them in Lua globals later. Make ↵David Walter Seikel2012-01-054-991/+28
| | | | the LSL parner more like the test one.
* Added the unadulterated flex and bison source files from the SL viewer.David Walter Seikel2012-01-054-0/+2757
| | | | | | | | | Actually, from meta-impy, but originaly from one of the SL viewers. They actually produce C files, though some of it is C++. The resulting files wont compile without lots of C++ files from the viewer. Still, it's a step in the right direction. "btyacc: 88 reduce/reduce conflicts." might be a worry though.
* Make the btyacc stuff a little more reentrant to match bison.David Walter Seikel2012-01-051-8/+8
| | | | It's still not reentrant. lol
* Licence info added.David Walter Seikel2012-01-052-0/+64
|
* Add a simple flex + btyacc stub.David Walter Seikel2012-01-0510-1/+1308
| | | | Will be fleshed out soon with LSL grammer.
* Add a compiler stub.David Walter Seikel2012-01-055-3/+47
|
* Move the object files out of the source directory.David Walter Seikel2012-01-042-8/+8
| | | | Should do a proper out of tree build later, this is just quick and dirty for now.
* Skeleton of the GUI test harness for the LuaSL script engine.David Walter Seikel2012-01-049-0/+613
|
* Added a basic .gitignore file.David Walter Seikel2012-01-041-0/+4
|