Exherbo
GitLab
Packages
dev-lang/colm
A programming language designed for the analysis of computer languages.
Versions
Slot
Version
Repository
Platforms
0
0.14.7
arbor
~amd64
arm?
armv7?
armv8?
x86?
Metadata
Homepage
https://www.colm.net/open-source/colm/
Summary
A programming language designed for the analysis of computer languages
Description
Colm is influenced primarily by TXL. It is in the family of program transformation languages. A transformation language has a type system based on formal languages. Rather than define classes or data structures, one defines grammars. A parser is constructed automatically from the grammar, and the parser is used for two purposes: to parse the input language, and to parse the structural patterns in the program that performs the analysis. Colm’s main contribution lies in the parsing method. Colm’s parsing engine is generalized, but it also allows for the construction of arbitrary global data structures that can be queried during parsing. In other generalized methods, construction of global data requires some very careful consideration because of inherent concurrency in the parsing method. It is such a tricky task that it is often avoided altogether and the problem is deferred to a post-parse disambiguation of the parse forest.
Dependencies
(
(
build:
sys-devel/libtool
sys-devel/autoconf:2.7
sys-devel/automake:1.16
)
(
build:
doc? (
app-doc/asciidoc
dev-python/Pygments
)
)
)
Downloads
https://www.colm.net/files/colm/colm-0.14.7.tar.gz
Licences
MIT
Choices
OPTIONS
doc
Adds extra documentation (API, Javadoc, etc)