Skip to content
/ toys Public
forked from toys-lang/toys

A toy programming language to learn how to design and implement programming languages

License

Notifications You must be signed in to change notification settings

komamitsu/toys

 
 

Repository files navigation

Toys

Badge

A toy programming language to learn how to design and implement programming languages.

Toys is a simple and expression-oriented dynamically-typed programming language.

Features

  • function definitions
  • global variable definitions
  • mathmatical expressions
    • addition (x + y)
    • subtraction(x - y)
    • multiplication(x * y)
    • division(x / y)
  • comparative expressions
    • x < y
    • x > y
    • x <= y
    • x >= y
    • x == y
    • x != y
  • integer datatypes
  • if expressions
  • while expressions
  • for-in expressions
  • labelled arguments

Purpose

Toys is designed for a feature article in Web+DB PRESS Vol.125

Test

Toys' interpreter can be tested using Maven below:

$ mvn test

About

A toy programming language to learn how to design and implement programming languages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.8%
  • JavaScript 0.2%