aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* yylineno does not track colums, so do it myself.David Walter Seikel2012-01-163-3/+20
|
* Parser now parses a real script to completion with no syntax errors! B-)David Walter Seikel2012-01-161-72/+88
|
* Add a proper LSL file for easy testing.David Walter Seikel2012-01-161-0/+108
|
* Make things more robust against a half arsed parser.David Walter Seikel2012-01-163-8/+10
|
* We need an untyped function declaration, but it conflicts, so leave it ↵David Walter Seikel2012-01-161-0/+1
| | | | commented out for now.
* Make sure identifiers get, er, identified.David Walter Seikel2012-01-161-12/+12
|
* Missed a debug ifdef.David Walter Seikel2012-01-161-0/+2
|
* Auto test file with no arguments.David Walter Seikel2012-01-161-0/+8
|
* Lemon parser more complete now, may even be more correct.David Walter Seikel2012-01-161-15/+14
|
* More clean up, and tiredness descends.David Walter Seikel2012-01-161-13/+6
|
* Clean that up a little.David Walter Seikel2012-01-161-3/+3
|
* Very quick and dirty fleshing out of the lemon parser. It's likely wrong.David Walter Seikel2012-01-161-14/+80
| | | | If / else if / else is traditionally hard. Leaving it for later, this is the quick and dirty version.
* Add key and string to the parser.David Walter Seikel2012-01-162-0/+5
|
* Clean up space.David Walter Seikel2012-01-161-3/+3
|
* Fill out the rest of theparser symbols, and partiallyimplement typecasting.David Walter Seikel2012-01-163-38/+76
|
* Report line and column in syntax errors, and stack overflows.David Walter Seikel2012-01-161-4/+3
|
* Actually make use of the lexers line and column numbers.David Walter Seikel2012-01-163-19/+2
|
* Get multi file parsing working.David Walter Seikel2012-01-153-167/+130
|
* Re-arrange lemon to run before frex due to dependencies.David Walter Seikel2012-01-151-4/+3
|
* Updated comment about modulo.David Walter Seikel2012-01-151-1/+1
|
* Updated float matching rule.David Walter Seikel2012-01-151-2/+2
|
* Little bit of clean up.David Walter Seikel2012-01-143-4/+5
|
* Generic type handling, and add the float type.David Walter Seikel2012-01-135-203/+508
|
* Big comment about type casting and the various operations an types.David Walter Seikel2012-01-121-0/+56
|
* Change the order of conditionals, with more comments. Resort the upper tag ↵David Walter Seikel2012-01-122-15/+17
| | | | types.
* Move and comment the lemon syntax error stuff.David Walter Seikel2012-01-121-1/+3
|
* Add a hex integer format, and comment about variations for float.David Walter Seikel2012-01-121-3/+6
|
* A failed attempt to handle multiple files.David Walter Seikel2012-01-123-55/+60
|
* Make the lexer more reentrant, and piss off yyerror.David Walter Seikel2012-01-123-94/+90
|
* Space reduction.David Walter Seikel2012-01-121-11/+5
|
* Allow output to a file, and compare the output with the input.David Walter Seikel2012-01-122-46/+76
|
* More clean up.David Walter Seikel2012-01-124-28/+16
|
* Some general cleanup.David Walter Seikel2012-01-123-55/+41
|
* Update .gitignore for lemon.David Walter Seikel2012-01-121-1/+4
|
* Switch to the lemon parser.David Walter Seikel2012-01-1212-1726/+6036
|
* Leaf cloner.David Walter Seikel2012-01-101-6/+10
|
* Get rid of the comment function.David Walter Seikel2012-01-102-15/+3
|
* Get rid of the LSL_AST structure, it's all in LSL_Leaf now.David Walter Seikel2012-01-103-119/+95
|
* 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
|