Skip to content

katef/kgt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KGT: Kate's Grammar Tool


 Input:  Various BNF-like syntaxes
 Output: Various BNF-like syntaxes, AST dumps, and Railroad Syntax Diagrams


Clone with submodules (contains required .mk files):

 ; git clone --recursive https://github.com/katef/kgt.git

To build and install:

 ; pmake -r install

You can override a few things:

 ; CC=clang PREFIX=$HOME pmake -r install

Building depends on:

 * Any BSD make. This includes OpenBSD, FreeBSD and NetBSD make(1)
   and sjg's portable bmake (also packaged as pmake).

 * A C compiler. Any should do, but GCC and clang are best supported.

 * ar, ld, and a bunch of other stuff you probably already have.


Ideas, comments or bugs: kate@elide.org