aboutsummaryrefslogtreecommitdiff
path: root/grammar.c
AgeCommit message (Collapse)Author
2021-01-15Renamed grammar -> definitionsBruce Hill
2021-01-15Rename compiler -> patternBruce Hill
2021-01-15Renaming files: printing->print, file_loader->filesBruce Hill
2021-01-15Renaming op -> pat in variable namesBruce Hill
2021-01-15Renaming 'op' member fields to 'pat'Bruce Hill
2021-01-15Renaming op -> pat, phase 1 refactorBruce Hill
2021-01-15Fixed bug with backrefs. The backref pushing was overly greedy andBruce Hill
has been updated to only push backrefs when a capture is directly in the chain and not recursively contained within it.
2021-01-13Replaced _exit()s with exits()Bruce Hill
2021-01-13Working towards zero memory leakageBruce Hill
2021-01-13Major overhaul of some of the memory tracking code, as well as someBruce Hill
cleanup of the compilation code.
2021-01-12Added forward declarations for static functionsBruce Hill
2021-01-12Some general cleanup, adding comments, adding more __attribute__s whereBruce Hill
applicable
2021-01-12Standardizing to line-comments instead of block commentsBruce Hill
2021-01-12Renamed op.op -> op.typeBruce Hill
2021-01-10Refactor of grammar logic to instead *only* use a linked list for allBruce Hill
grammar rules and backrefs. This simplifies things a lot.
2021-01-10Removing unnecessary fieldsBruce Hill
2021-01-10Updated more things to use xfree(&foo) instead of free(foo)Bruce Hill
2021-01-10Simplified grammars using intrusive linked lists instead of dynamicBruce Hill
arrays
2021-01-09Replaced (void*) with (match_t*) in struct defBruce Hill
2021-01-08Refactoring, moving visualization and virtual machine code into properBruce Hill
files
2020-12-30Fully purging "bpeg" from the sourceBruce Hill
2020-12-17Better null byte handling, simplified match datastructures, and someBruce Hill
misc. cleanup
2020-12-17Memory allocation failure checks, and a simpler new() functionBruce Hill
2020-12-14Imports cleanup and removing FILE* parameter from jsonBruce Hill
2020-12-14Updated '|' to mean word boundary and \N for nodentBruce Hill
2020-09-23More rigorous compile-time checks via __attribute__sBruce Hill
2020-09-16Removed the requirement for semicolons, changed '=' -> ':' forBruce Hill
definitions, added better error reporting for failed BPEG grammars
2020-09-16WIPBruce Hill
2020-09-12Added backrefsBruce Hill
2020-09-12Moving towards separate grammar files.Bruce Hill
2020-09-12Tweaks to CLI, bugfix for escape replacementsBruce Hill
2020-09-11Improved handling of CLI flagsBruce Hill
2020-09-11Tightening up the makefile flags and vim modelinesBruce Hill
2020-09-11Major overhaul refactor restructuringBruce Hill