summaryrefslogtreecommitdiff
path: root/src/pdabuild.cc
Commit message (Collapse)AuthorAgeFilesLines
* Fix some spelling errorsVictor Westerhuis2021-12-061-1/+1
|
* correct prodNum as we combine productions to implement [...]Adrian Thurston2020-04-141-0/+1
| | | | refs #112
* renamed DefList and LelDefList to the more accurate ProdList, LelProdListAdrian Thurston2020-04-121-23/+23
|
* making exported vars available from C codeAdrian Thurston2020-04-101-0/+30
| | | | | | Addes an array of exports to runtime data. Also declares each export as an integer. The value of the export can be passed to colm_get_gloal(). They are named colm_export_<export-name>. refs #116.
* moved source files into commit repositoryAdrian Thurston2020-03-141-0/+2205
|
* moved the original colm src dir to /colmAdrian Thurston2019-09-081-2204/+0
|
* reusing stream impls when parsing from 'input'Adrian Thurston2018-07-041-0/+2
| | | | | | | | 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.
* pass prg to colm_tree_upref and maintian first struct idAdrian Thurston2018-06-151-1/+8
|
* added stds, a list of streams, used for bare sendsAdrian Thurston2018-05-131-0/+2
|
* allocate a unique struct id for streamsAdrian Thurston2018-05-051-1/+3
|
* removed some commented-out codeAdrian Thurston2018-05-051-31/+5
|
* replacing the void LEL with a keyword and TYPE_VOID (non-tree)Adrian Thurston2018-05-041-10/+10
| | | | | Using LEL was a hack to make it work quickly, usig a non-tree type is the proper solution.
* use disjoint sets for struct and lang-el identifiersAdrian Thurston2018-05-041-1/+7
| | | | | | | 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-17/+19
|
* an automated include convention improvement from Peter ReijndersAdrian Thurston2016-12-131-12/+8
|
* host adapters now have unique names are are accessed with func pointersAdrian Thurston2016-02-191-0/+36
| | | | | This eliminates symbol collisions present when linking multiple colm programs into the same executable.
* allow omission of location in reductionsAdrian Thurston2015-11-301-11/+11
| | | | | | | There is code in here for omission of location and data in reductions. Unfortunately we cannot enable the omission of data unless we make changes to the backtracking. In the current implementation we push the token data with an mcopy from the data in the token.
* moved MethodMap into NameScope, converted some ptrs to objsAdrian Thurston2015-08-081-2/+2
|
* cleanup and simplification, generic elements and variousAdrian Thurston2015-06-131-2/+0
|
* some cleanup around the unified list and map genericsAdrian Thurston2015-06-081-1/+1
|
* large scale symbol renaming in C codecolm-barracuda-v3Adrian Thurston2015-05-221-210/+210
| | | | using _ conventions for C, camelCase of C++
* more application of C naming conventionsAdrian Thurston2015-05-151-12/+12
|
* naming convention improvementsAdrian Thurston2015-05-151-1/+1
|
* improved naming, moved generated parser code to subdir genAdrian Thurston2015-05-101-33/+34
|
* some naming cleanupAdrian Thurston2015-05-101-4/+4
|
* code cleanup and some fixes for iter unwind since splitting unwind/destroyAdrian Thurston2015-05-101-3/+3
|
* downref find tree arg in MAP find (if tree)Adrian Thurston2015-05-021-2/+2
|
* work in progress on a contiguous arg space prepared by callerAdrian Thurston2015-03-281-0/+11
| | | | Also fixed the tree downref in exit unwind. Not always a tree.
* implementing vlist functionsAdrian Thurston2015-02-141-10/+16
|
* vmap find: only upref result if it is a tree typeAdrian Thurston2015-02-141-0/+2
|
* cleanup of the GenericType structAdrian Thurston2015-02-131-5/+5
|
* work on value list and value map, can insert into vmapAdrian Thurston2015-02-131-0/+3
|
* first cut of value-based ints, test cases passAdrian Thurston2015-01-271-17/+17
|
* revert "removed GPL license file and stripped GPL headers"Adrian Thurston2015-01-231-0/+17
| | | | | | | | | | This reverts commit f04d3ede7dbb6d3edd6a9865ebf88c5e6d82f18e. Conflicts: src/codegen.cc src/ctinput.cc src/exports.cc src/fsmcodegen.cc
* removed references to TYPE_PTR whose paths are no longer hitAdrian Thurston2015-01-111-2/+2
|
* set the argv_el id when creating the structsAdrian Thurston2015-01-111-0/+1
|
* more object-semantics improvementsAdrian Thurston2015-01-101-2/+2
|
* removed the generic pointer from LangElAdrian Thurston2015-01-051-4/+0
|
* work on using embedded list element pointersAdrian Thurston2015-01-041-1/+2
|
* push towards embedded list elementsAdrian Thurston2015-01-041-1/+2
|
* cleanup in generics, using a single unique generic mapAdrian Thurston2015-01-041-1/+0
|
* don't allocate a constructor for parse statementsAdrian Thurston2015-01-041-18/+14
| | | | Just need a consItemList for the list of items we are going to parse.
* no longer allocating a langEl to genericsAdrian Thurston2015-01-041-15/+19
| | | | enerics are now structs. Also added the TYPE_GERERIC unique type.
* rolling over to struct type for streamAdrian Thurston2014-12-281-1/+0
|
* size and local trees computations for structs, global varsAdrian Thurston2014-12-251-9/+12
|
* converted the global object to a structAdrian Thurston2014-12-251-0/+2
|
* downref trees when deleting a structAdrian Thurston2014-12-201-0/+29
|
* added structElInfo to the runtime dataAdrian Thurston2014-12-201-0/+20
| | | | Storing size and can add trees offsets for downreffing on free.
* renamed parsedata.h -> compiler.hAdrian Thurston2014-12-121-1/+1
|