~groovestomp/c-parser

65e17356 — Aaron Oman 6 months ago master
Massive update that fixes parse tree generation
1e5d53f2 — Aaron Oman 6 months ago
Fix #define ordering
28d79988 — Aaron Oman 6 months ago
Re-indent parser.c
8ce8c284 — Aaron Oman 6 months ago
Extract allocator from ParseTreeNode

- Change __parser_typedef_names to be static.
- Make a global static __parse_tree_allocator that is shared across all parse tree nodes.
52ac167e — Aaron Oman 6 months ago
Many changes!

- Remove dependency on stdio.h in lexer.c
- Update 'Updated' metadata for each file.
- Set 'Created' metadata for each file.
- Conditionally define booleans in gs.h
- Add gs_MemSet to gs.h
- Update lexer to handle errors in a C-like way.
- Update Lex() function to return a tokenized stream.
- Update main.c to handle Lex() returning a stream, print parse tree without cli option.
- Change ParseTree to use enums instead of strings for type info.
- Update parser to use new ParseTree interface.
- Simplify Parse() function implementation by removing the loop.
ce134c26 — Aaron Oman 7 months ago
Add fixed with numerical compiler test
87b91f32 — Aaron Oman 7 months ago
Complete style overhaul

- Added STYLEGUIDE to illustrate
3a834a3b — Aaron Oman 7 months ago
A few leftovers for style normalization in gs.h
78f3a012 — Aaron Oman 7 months ago
Normalize coding style for gs.h
1aaf0aa3 — Aaron Oman 7 months ago
Clean up dependencies
f3fb07ee — Aaron Oman 7 months ago
Remove unicode support from TODO and update README
4c15910e — Aaron Oman 7 months ago
Updated license info
70a6051a — Aaron Oman 7 months ago
Various fixes

- Proper release and debug builds.
- Make tests pass.
- Fix a couple of warnings.
ccec1b8f — Aaron Oman 7 months ago
Remove GCC-specific check and fix bugs found by tcc
df73df83 — Aaron Oman 7 months ago
Remove parens around returns and fix missing return in GSHashMapAllocSize
aef2d5c3 — Aaron Oman 7 months ago
More C-style normalization. I apparently missed this file.
770051d0 — Aaron Oman 7 months ago
Clean up parse tree naming
60559b3b — Aaron Oman 7 months ago
Normalize primitive typenames
805d5eae — Aaron Oman 7 months ago
File layout/directory structure reorganization
038b8e0f — Aaron Oman 7 months ago
Normalize coding style
Next