Commit Graph

88 Commits

Author SHA1 Message Date
Victor Fernandes 89f718ce34 remove unused and unecessary variables 2017-04-04 19:26:00 -04:00
Victor Fernandes c6f27e1e69 Platform depedency with fopen 2017-04-04 18:51:09 -04:00
Victor Fernandes 5f717f4427 fix warnings and use fopen_s instead 2017-04-04 18:39:33 -04:00
Victor Fernandes 69157aec8c new project for stable 2017-04-04 18:38:59 -04:00
Victor Fernandes 53fd5518dc resolve merge conflict 2017-04-04 17:52:13 -04:00
Victor Fernandes feb505e932 symbol table masks demo 2017-04-04 17:36:22 -04:00
Victor Fernandes 182d4bbb90 docs and some small changes 2017-04-04 17:35:52 -04:00
Victor Fernandes bc5b48ec82 h 2017-03-28 12:01:07 -04:00
Victor Fernandes 1bfef0f5fc Scanner: Use symbol table to store SVIDs and AVIDs
Token: Use vid_offset instead of old vid_lex[]
2017-03-24 22:07:42 -04:00
Victor Fernandes a213c022ef Update file/function comment template 2017-03-24 21:05:14 -04:00
Victor Fernandes 158a461ebf Stable.h: Bit masks, Stable.c: complete functions 2017-03-24 21:04:45 -04:00
Victor Fernandes 1efdeaf3e7 Symbol Table: Basic skeleton definitions and declarations 2017-03-24 18:12:08 -04:00
Victor Fernandes c3c41f5a36 More cleanup 2017-03-20 13:34:07 -04:00
Victor Fernandes 70f44bec12 Cleanup, working Scanner matching output files and specs 2017-03-20 13:32:38 -04:00
Victor Fernandes 3ef9112429 Floating point must match '0.' and the like 2017-03-19 23:13:20 -04:00
Victor Fernandes 3df3b6943a Fix commenting formatting, add comment headers 2017-03-19 18:12:44 -04:00
Victor Fernandes 7671039bbf Remove redundant check 2017-03-19 16:10:12 -04:00
Victor Fernandes d498a87856 Avoid passing char* directly and use built-in function
Clean up old commented out code
2017-03-19 15:52:41 -04:00
Victor Fernandes 32464b6bc2 Use small buffer to handle erroneous string literals 2017-03-19 15:50:45 -04:00
Victor Fernandes da033b6301 why 2017-03-18 21:10:05 -04:00
Victor Fernandes b822bc1f92 test files 2017-03-18 20:04:24 -04:00
Victor Fernandes f22d0d87df FLOATING POINT AND EVERYTHING WORKS EXCEPT NON-CLOSING STRING AT END OF FILE 2017-03-18 19:53:58 -04:00
Victor Fernandes d3c6197b7e Update README 2017-03-18 18:13:58 -04:00
Victor Fernandes eb322b2ddd Nested comment character messing up github/git go parser 2017-03-18 18:07:02 -04:00
Victor Fernandes d5b6ff2ee3 Fix transition table(finally) 2017-03-18 17:23:57 -04:00
Victor Fernandes 24af981412 Fix non-C89 comments
Do not store into str_LTBL while checking for legal string
2017-03-16 17:54:28 -04:00
Victor Fernandes ef426610eb Define use of macOS's gcc malloc or Windows msvc malloc 2017-03-16 16:37:41 -04:00
Victor Fernandes b78f4a831d Fix transition table. Need to fix string literal read 2017-03-15 20:57:28 -04:00
Victor Fernandes 0b5fb5befa New "Project" for Scanner 2017-03-15 03:19:27 -04:00
Victor Fernandes 73adc465b4 Merge branch 'master' of https://git.xeserv.us/victorvalenca/platypus 2017-03-15 03:05:28 -04:00
Victor Fernandes e52a190a50 State functions, minimize columns in transition table 2017-03-15 03:04:51 -04:00
Victor Fernandes ab2164b431 Do most of the switch cases 2017-03-14 22:35:12 -04:00
Victor Fernandes 8fdd445420 merge regex conflict 2017-03-14 19:44:03 -04:00
Victor Fernandes 42827b7f01 Transition table: complete, I think? 2017-03-14 15:54:47 -04:00
Victor Fernandes 668afe99c2 merge 2017-03-13 19:14:01 -04:00
Victor Fernandes 38fc2ad581 bnf 2017-03-13 13:02:25 -04:00
Victor Fernandes 2b8186baa0 Fix opt statement productions, start regex for literals 2017-03-13 12:58:58 -04:00
Victor Fernandes 214b6a49cd Merge branch 'master' of git.xeserv.us:victorvalenca/platypus 2017-03-06 10:59:20 -05:00
Victor Fernandes 051752c100 Scanner: oops wrong file 2017-03-06 10:58:14 -05:00
Victor Fernandes db10e77bc7 Scanner source code 2017-03-06 10:05:09 -05:00
Victor Fernandes cd18b51176 Start converting UBNF (ugly BNF) into BNF 2017-02-22 19:23:31 -05:00
Victor Fernandes 6b6d084096 BNF: end of statement character 2017-02-22 19:18:48 -05:00
Victor Fernandes 7a37173263 h 2017-02-22 19:10:15 -05:00
Victor Fernandes 321cb4a959 Clean up and remove 'one of's 2017-02-21 15:08:32 -05:00
Victor Fernandes 6b6226bba9 BNF correction: No >= or <= allowed in this spec 2017-02-21 14:54:07 -05:00
Victor Fernandes 3a0a477225 BNF: Fix MAJOR ERROR in operators 2017-02-21 14:46:11 -05:00
Victor Fernandes 1929d27602 BNF: Fix <logical AND expression> 2017-02-21 14:29:51 -05:00
Victor Fernandes f8109d40ec BNF: Add C's syntax for conditional expressions as potential solution 2017-02-21 14:25:21 -05:00
Victor Fernandes 6aad9b40de Finish grammar 2017-02-21 13:48:10 -05:00
Victor Fernandes f3c285ec50 merge conflict 2017-02-13 19:02:33 -05:00