User loginNavigation |
Katahdin: Modifying your programming language as it runsKatahdin is a programming language where you can define new language constructs such as expressions and statements as easily as new types or functions. For example, you could define a new operator, a new type of loop, implement a syntax from another language that you like. After defining a new construct you can use it on the next line in the same file, so there is no need to recompile each time you want to add a new construct. Katahdin is powerful enough that you can define an entire existing language, or design a new language from scratch, making Katahdin a universal language interpreter. For example, most programming languages have a modulo, or remainer operator. To define one from scratch in Katahdin it is only a few lines:
method Get() { Katahdin is an application of parsing expression grammars and packrat parsing, an active area of research. The site contains a master's thesis and public domain source code. By chrisseaton at 2007-06-20 13:55 | LtU Forum | previous forum topic | next forum topic | other blogs | 16413 reads
|
Browse archives
Active forum topics |
Recent comments
11 weeks 1 day ago
11 weeks 2 days ago
11 weeks 3 days ago
11 weeks 3 days ago
12 weeks 1 day ago
12 weeks 1 day ago
12 weeks 1 day ago
15 weeks 1 day ago
16 weeks 6 hours ago
16 weeks 12 hours ago