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

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

License

MIT, EPL-1.0 licenses found

Licenses found

MIT
LICENSE
EPL-1.0
junit4-license
Notifications You must be signed in to change notification settings

kmizu/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

MIT, EPL-1.0 licenses found

Licenses found

MIT
LICENSE
EPL-1.0
junit4-license

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.8%
  • JavaScript 0.2%