Commit graph

569 commits

Author SHA1 Message Date
Wolfgang Bumiller
5ffa0dda8e Keep track of blocklocal in parser_parse_block 2012-07-19 20:30:36 +02:00
Wolfgang Bumiller
c43bb71aa7 Factoring out variable parsing so it can be used for locals too 2012-07-19 20:15:30 +02:00
Wolfgang Bumiller
4360d3b5be Proto for parsing a function body 2012-07-19 19:57:24 +02:00
Wolfgang Bumiller
f4864fd5ac null-init parser_t, add a function member to it 2012-07-19 19:55:25 +02:00
Wolfgang Bumiller
03baa85c43 Properly parse functions without parameters 2012-07-19 19:53:58 +02:00
Wolfgang Bumiller
532aaba87d Parse away the semicolon after an assignment 2012-07-19 19:52:44 +02:00
Wolfgang Bumiller
02b4c7b7c1 merging master, and adapting 2012-07-19 18:15:27 +02:00
Wolfgang Bumiller
e7f8647d08 additional/superfluous check removed 2012-07-19 18:10:12 +02:00
Wolfgang Bumiller
6713c3fd5f Properly check if it's a function... checking the parameter count is not a correct check 2012-07-19 18:04:57 +02:00
Wolfgang Bumiller
8471d36aab builtins are negative 2012-07-19 17:54:35 +02:00
Wolfgang Bumiller
38edf7c1bd handling function definitions better, generating functions 2012-07-19 17:53:45 +02:00
Wolfgang Bumiller
6a346745aa Handling definition of builtins 2012-07-19 17:39:19 +02:00
Wolfgang Bumiller
c44355e224 handle EOF 2012-07-19 12:17:00 +02:00
Wolfgang Bumiller
1d55197097 parsing typenames completely now with function parameters 2012-07-19 11:41:16 +02:00
Wolfgang Bumiller
5b7dfb7e4b Building the output - global variables for now 2012-07-19 11:25:53 +02:00
Wolfgang Bumiller
d6cd3b6dc9 Don't die on regular EOF 2012-07-19 11:22:09 +02:00
Wolfgang Bumiller
d581fdc048 Reading a global def 2012-07-16 14:52:52 +02:00
Wolfgang Bumiller
4f611475de Starting some parsing 2012-07-16 14:14:37 +02:00
Wolfgang Bumiller
9b6598f049 Copying my old lexer 2012-07-16 13:59:10 +02:00