summaryrefslogtreecommitdiff
path: root/src/struct.h
Commit message (Collapse)AuthorAgeFilesLines
* moved source files into commit repositoryAdrian Thurston2020-03-141-0/+180
|
* moved the original colm src dir to /colmAdrian Thurston2019-09-081-180/+0
|
* removed the buffers from structs, not needed anymoreAdrian Thurston2018-07-141-14/+0
| | | | | | These where there to allow for structs to be treated like trees during the split, without crashing, but likely resulting in an unstable system. Served their purpose, now gone.
* removed parser from input, initting with input takes pointer to input_tAdrian Thurston2018-07-091-4/+0
|
* separating the input from stream typeAdrian Thurston2018-07-081-2/+18
|
* reusing stream impls when parsing from 'input'Adrian Thurston2018-07-041-0/+1
| | | | | | | | To detect parsing from a top level input and to avoid appending it to a parser's top level (thus creating a tree), added a new type for input so we can replace the parser's top level. This change forces us to a two level structure where stream seq is at the top and stream data underneath. Requires us to hack the destructor so that we don't multiple delete the stream impl.
* init stop_id when a parser is constructedAdrian Thurston2018-05-141-3/+2
| | | | removed the setting of the stop_id from the parse_frag call
* added a pointer from a parser stream back to parserAdrian Thurston2018-05-051-0/+1
|
* use disjoint sets for struct and lang-el identifiersAdrian Thurston2018-05-041-2/+0
| | | | | | | Using disjoint sets allows us to verify at runtime that we are not mixing trees and structs. Some of this is still left over from when we used trees for streams and lists and things. Need to build up some internal consistency checks.
* updated Copyright yearsAdrian Thurston2018-03-041-1/+1
|
* migrated from GPLv2 to MIT licenseAdrian Thurston2016-12-131-0/+22
|
* an automated include convention improvement from Peter ReijndersAdrian Thurston2016-12-131-1/+2
|
* split reducers into their own classAdrian Thurston2015-11-051-1/+1
| | | | Previously selected with a runtime int. Using reduction name as the class name.
* collect and emit reduction action itemsAdrian Thurston2015-10-061-3/+1
|
* put reducer code in its own file, use local parse tree poolAdrian Thurston2015-10-051-1/+5
|
* removed the fd-based IO funcs, just using FILE structsAdrian Thurston2015-06-211-0/+3
| | | | | IO should be buffered for performance, we do many small prints when we iterate trees.
* large scale symbol renaming in C codecolm-barracuda-v3Adrian Thurston2015-05-221-13/+13
| | | | using _ conventions for C, camelCase of C++
* more application of C naming conventionsAdrian Thurston2015-05-151-24/+24
|
* naming convention improvementsAdrian Thurston2015-05-151-8/+5
|
* improved naming, moved generated parser code to subdir genAdrian Thurston2015-05-101-3/+3
|
* merged FsmRun and PdaRun into pda_run, eliminated typedefAdrian Thurston2015-05-101-1/+1
|
* function name cleanupAdrian Thurston2015-01-271-0/+2
|
* object-list fix and test caseAdrian Thurston2015-01-171-0/+1
|
* more of map implemented: can now traverse map elementsAdrian Thurston2015-01-171-0/+2
|
* object-based maps: insert and find implementationAdrian Thurston2015-01-171-10/+12
|
* setting the map el sizeAdrian Thurston2015-01-171-4/+6
|
* various cleanup in bytecode engineAdrian Thurston2015-01-161-0/+6
|
* some stream function name cleanupAdrian Thurston2015-01-061-1/+1
|
* some improvements to the struct macros, and code movementAdrian Thurston2015-01-051-14/+11
|
* find list element offset using the generic infoAdrian Thurston2015-01-051-2/+4
|
* some work on list access and traversalAdrian Thurston2015-01-051-3/+2
|
* work on object-based listsAdrian Thurston2015-01-051-5/+9
|
* work on using embedded list element pointersAdrian Thurston2015-01-041-8/+4
|
* push towards embedded list elementsAdrian Thurston2015-01-041-4/+4
|
* turning list elements into allocated objectsAdrian Thurston2015-01-041-2/+9
|
* more rough work on object-based listsAdrian Thurston2015-01-041-0/+12
|
* made list and map into structsAdrian Thurston2015-01-021-2/+45
|
* start using stream and parser structsAdrian Thurston2015-01-021-1/+5
|
* make stream and parser overlay structAdrian Thurston2015-01-021-3/+55
|
* implemented the struct inbuilt constructor, use to clean up parserAdrian Thurston2015-01-021-1/+6
|
* parser converted to struct typeAdrian Thurston2015-01-021-2/+9
| | | | Got a basic compile/run working with a struct-based parser object.
* started converting stream to object typeAdrian Thurston2014-12-261-0/+2
|
* more function cleanup in struct fieldsAdrian Thurston2014-12-251-4/+7
|
* converted the global object to a structAdrian Thurston2014-12-251-0/+2
|
* some renaming and cleanupAdrian Thurston2014-12-251-1/+4
|
* can get/set vals in structsAdrian Thurston2014-12-201-0/+5