Cool-Compiler icon indicating copy to clipboard operation
Cool-Compiler copied to clipboard

:mortar_board: Compiler for cool programming language. Lexer and parser are implemented in ANTLR. AST compiled to .NET assembly (IL).

Cool-Compiler

Compiler for Cool programming language. Description of implemented cool language dialect is placed in root directory "Cool Manual.pdf".

Used technologies and framework stack:

  • ANTLRWorks
  • ANTLR C# runtime distribution (Antlr3.Runtime.dll).
  • Visual Studio 2010 (WPF + AvalonEdit).
  • Java Runtime Environment.
  • IL Disassembler.

All binaries are in sources. Cool language description is located here: http://habrahabr.ru/post/136528/ and http://habrahabr.ru/post/136714/ .

image

Sample cool code is available (Example1.cool and BinaryTree.cool).