crylox

Version, currently main branch1 version
  • main branchlatestMay 11, 2024

github.com/avrame/crylox

No description declared in shard.yml.

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  crylox:
    github: avrame/crylox
    branch: main

main is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
1.8.2
License
MIT
Author
Avram Eisner
Target
  • crylox from src/crylox.cr

Dependencies

This version declares no dependencies.

README

crylox

This is an AST-walker interpreter written in Crystal for the Lox programming language. Crylox is the result of following the first part of Rob Nystrom's excellent Crafting Interpreters book.

Installation

  1. Pull down the repo
  2. Install the Crystal language
  3. cd into the root dir and type shards install
  4. run the test.lox file using crystal run src/crylox.cr -- test.lox

Contributing

  1. Fork it (https://github.com/your-github-user/crylox/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors