No description, website, or topics provided.
Ruby HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
exe
lib
spec
.gitignore
CHANGELOG.md
Gemfile
Gemfile.lock
README.md
Rakefile
esquis.gemspec

README.md

Esquis

Esquis is a statically-typed programming language.

Status

Pre-alpha. Everything may change.

How to run

Prerequisites:

  • Ruby >= 2.3
  • Boehm GC (brew install boehmgc)
    • Tested with 7.6.0
    • Currently path of boehmgc is hard-coded in lib/esquis.rb, so you may need to edit the path.
$ bundle install
$ bundle exec esquis exec examples/a.es
$ bundle exec rake test

Language spec (memo)

This is a memo of 'how esquis behaves now', not 'how esquis should behave'.

  • lvar
    • It is not allowed to reassign to local variable
  • stdlib
    • putd(n: Float) -> Void : print n as decimal number(%d)
    • putf(n: Float) -> Void : print n as flonum (%f)

License

MIT

Contact

https://github.com/yhara/esquis