Skip to content

fzakaria/ChocoPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChocoPy

ChocoPy is a restricted subset of Python 3, which can easily be compiled to a target such as RISC-V.

The language is fully specified using formal grammar, typing rules, and operational semantics.

The grammar however is left recursive and specified in EBNF.

This repository contains the ANTLR4 analag grammar to build the lexer & grammar.

Development

  • You'll need JDK11+
mvn clean install

The lexer & parser are automatically generated using the ANTLR maven plugin.

Releases

No releases published

Packages

No packages published