Commit Graph

75 Commits

Author SHA1 Message Date
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
Victor Fernandes aa25c02661 .gitignore: add VS-related project files
buffer.c: allow start from zero capacity (still works!)
2017-02-13 18:39:58 -05:00
Victor Fernandes e491775737 Rename mark offset to proper name as per specs 2017-02-13 18:31:58 -05:00
Victor Fernandes 992f82573a Clean up redundant code and mixed measurements 2017-02-13 18:27:32 -05:00
Victor Fernandes 64e0f2d80a b_free() fix crash on NULL 2017-02-13 16:58:51 -05:00
Victor Fernandes c80fb62142 b_getc: Revert double check on EOB
b_print: add eob check in do/while
b_load: use feof() instead of EOF check
2017-02-13 13:28:05 -05:00
Victor Fernandes c8ed43f82f Fix indentation 2017-02-10 16:33:41 -05:00
Victor Fernandes d5c7383231 Rudimentary language specification 2017-02-10 16:29:07 -05:00
Victor Fernandes c51d1962dc Start Language specification 2017-02-10 15:47:24 -05:00
Victor Fernandes beb452a5db Add Test Plan 2017-02-07 14:02:43 -05:00
Victor Fernandes c7ba535938 Output test files: All working according to specs
Compare to original test files using diff or a similar tool
2017-02-07 12:40:37 -05:00
Victor Fernandes bb95cac9ee buffer.c/.h: Documentation 2017-02-02 17:04:10 -05:00
Victor Fernandes 11614dac4f Fix README 2017-02-02 16:48:04 -05:00
Victor Fernandes d3ce63fe25 Bulk commit
Test files: add original test files (small and "buffer-braking" files to check buffer behaviour
Add README
2017-02-02 16:44:26 -05:00