Happy is a parser generator system for Haskell, similar to the tool `yacc' for C. Like `yacc', it
takes a file containing an annotated BNF specification of a grammar and produces a Haskell module
containing a parser for the grammar.
Happy is flexible: you can have several Happy parsers in the
... [More] same program, and several entry points
to a single grammar. Happy can work in conjunction with a lexical analyser supplied by the user
(either hand-written or generated by another program), or it can parse a stream of characters
directly (but this isn't practical in most cases). [Less]
Ayacc provides Ada programmers with a convenient tool for the automatic construction of parsers from a high level description of a context free grammar.
The BNF Converter is a compiler construction tool generating a compiler front-end from a Labelled BNF grammar. It is currently able to generate C, C++, C#, F#, Haskell, Java, and OCaml, as well as XML representations.
Given a Labelled BNF grammar the tool produces:
* an abstract syntax
... [More] implementation
* a case skeleton for the abstract syntax in the same language
* an Alex, JLex, or Flex lexer generator file
* a Happy, CUP, or Bison parser generator file
* a pretty-printer as a Haskell/Java/C++/C module
* a Latex file containing a readable specification of the language [Less]
l33tlang is moving to http://github.com/RobertGawron/l33tlang
Reason why this project was started, is that I was wondering how computer languages are created, what needs to be done and what have I learn to create one. L33tlang or his author (yes, it's me ;)) doesn't attempts to be regular language
... [More] as one of many that you probably use in everyday routines, it's just a place, a form to investigate what am I doing when I'm writing a code and how all of this things works together. I want to gain new skills as a programmer.
After that, when you know why am I doing this, I may say sth more about l33tlang. It's compiled to a simple assembly language, that can be executed using virtual machine that I crated for this purpose. I was wondering if I can use popular VM but I realized that creating one from scratch (in Python) is another way to check my skills and knowledge. Now l33tlang is using VM written by czarodziej in C.
L33tlang attempts to be functional language, with syntax based on LISP, Erlang and a bit of Python. In a far, far future I plan to add new syntax constructs to enable generic programming. [Less]
Racc (Ruby yACC) is a LALR(1) parser generator.
It is written in Ruby itself, and generates Ruby programs.
Ruby 1.8.x comes with Racc runtime module. You can run your parsers generated by racc 1.4.x out of the box.
Grammar Extractors is a suite of scripts useful for extracting grammar descriptions from Yacc, Yapp and Bison input files. The output should be suitable for later processing via other utilities.
This site uses cookies to give you the best possible experience.
By using the site, you consent to our use of cookies.
For more information, please see our
Privacy Policy