Skip to content
forked from P4SW/griddy

A programming language for board games.

Notifications You must be signed in to change notification settings

klem-bot-delta/griddy

 
 

Repository files navigation

Griddy

A programming language for board games.

Requirements

  • JDK 17 (Java Development Kit)
  • JRE (Java Runtime Environment)
  • GCC (GNU C compiler)

Usage

# Build Griddy compiler
sh build.sh

# Compile to binary
java -cp output com.company.Main --file examples/noughts_and_crosses.griddy --compile

# Run binary
./a.out

Files

Primary files:

  • Parsing (JJTree): src/com/company/griddy.jjt
  • AST node interface: src/com/company/parser/Node.java
  • Base AST node: src/com/company/parser/SimpleNode.java
  • Code generation:
    • Visitor: src/com/company/target/CVisitor.java
  • Program entry: src/com/company/Main.java

About

A programming language for board games.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 72.1%
  • HTML 27.6%
  • Shell 0.3%