Skip to content
/ cyx Public

A toy language design for learning and fun

License

Notifications You must be signed in to change notification settings

flylai/cyx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CYX

CYX is a tiny dynamic type script language, design for learning and fun, Its syntax is similar to C family languages, It written in JAVA using ANTLR4.

Reference

See reference (Chinese only) for more details.

Test

All of the test files are in the test folder. You can quickly learn the syntax of CYX by checking the code.

Build

mkdir out
javac -d out src/cyx/**/*.java -cp lib/antlr-4.7.2-complete.jar

Run

java -cp ./lib/antlr-4.7.2-complete.jar:./out cyx.CYXRunner YourFilePath

Enjoy it.

License

MIT License.

Releases

No releases published

Packages

No packages published