| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Colm includes a library component with headers installed to a private dir
inside include: $prefix/include/colm. We need our headers to reference each
other using this colm prefix. This needs to be true for compiling our source
and also for compiling external programs. It is conventient to have all the
source in a directory called colm and then to use -I <source-root> when
building colm. We use $prefix/include when building external programs.
This reverts commit 247904a84430b8c9151fa6afb68f01b60afb92c9.
|
| |
|
|
|
|
|
|
| |
Fixed the test of build_parsers that allows the ragel/colm check to function.
Was checking for "true" when it should be a check for "yes". Added --with-*
options for specifying where the packages are installed to.
|
|
|
|
|
|
| |
codegen.cc for writing the colm program
compiler.cc for the main compiler logic
synthesis.cc for the bytecode program generation
|
|
|
|
|
| |
The exports.cc file is for writing the C++ interface. Write for generic code
writing. Currently has only the main file.
|
|
|
|
| |
Merged parsedata.cc and analysis.cc and renamed it colm.cc
|
| |
|
| |
|
| |
|
|
|
|
| |
removing extra pointers.
|
|
|
|
|
|
|
|
|
|
| |
when they are included by the main header (colm.h) they cannot be confused with
headers in the project that colm is being linked into.
Renamed the connect function, since that easily collides with other libs.
Eventually need to make most functions static.
Added global.h to the sources. Was missing.
|
|
|
|
| |
linked into another program. refs #328.
|
|
|
|
|
|
|
|
|
|
| |
to the type system. Rather than use a bool in typeref, wrap them in a whole
typeref. refs #308.
Added the analysis.cc file and moved the top-level compilation calls there.
Moved a few function calls around to fix some crashes observed during testing.
Have to be concerned about type resolution in productions that are created
during type resolution (repeats, etc).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Improved the check that decides if we are in the source tree VS an installed
location. Previously, if there was a / in the path it was assumed to be source.
This doesn't work for cases where we specify the full path to the installed
location. Now we look for a slash, then for main.cc next to the binary.
refs #297.
|
| |
|
|
|
|
| |
refs #284
|
| |
|
|
|