Commit Graph

61 Commits

Author SHA1 Message Date
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
Victor Fernandes 4a56fbc9ed make: default to build gcc+clang 2017-02-02 15:09:35 -05:00
Victor Fernandes 947f2d9b2e Makefile 2017-02-02 15:04:19 -05:00
Victor Fernandes d8e06cc491 Fix mixed measurements, begin big file edge case tests 2017-02-02 12:28:13 -05:00
Victor Fernandes 5b1abfc541 Delete old input files 2017-02-02 10:05:00 -05:00
Victor Fernandes 49f73a91f1 Use 2017 test files, directory clean-up 2017-02-02 10:03:18 -05:00
Victor Fernandes 6f636ec73b ignore .GCH files 2017-02-01 21:09:06 -05:00
Victor Fernandes 8de91295c9 Remove useless code, add documentation 2017-02-01 21:06:45 -05:00
Victor Fernandes 7c47ba78c0 Memory management, truncation errors, EOB/EOF 2017-02-01 20:04:49 -05:00
Victor Fernandes 0647478729 Fix .gitignore v2.0 2017-02-01 20:04:14 -05:00
Victor Fernandes 903185d1b6 Fix .gitignore 2017-02-01 20:03:52 -05:00
Victor Fernandes c47a2b3898 Ignore intermediary assembly/linker/object files 2017-02-01 20:03:14 -05:00
Victor Fernandes 7ddc16ea79 delete test files 2017-02-01 18:57:29 -05:00
Victor Fernandes 1f49dc6af5 Ignore test output files 2017-02-01 18:55:54 -05:00
Victor Fernandes 22d0b75e8c Patch by Phase 2017-02-01 18:54:00 -05:00