Giter Site home page Giter Site logo

yasc's Introduction

yasc

yasc is a (budding) interpreter for R6RS scheme. Currently, its operates exclusively as a scheme repl, but it will eventually support various interpretation modes, including interpreting files. Implementing these are lower priority than becoming R6RS compliant, however.

Warning: yasc is in extremely early development, and can only handle nested arithmetic (integer) expressions, eg (+ 1 2 (* 4 5 (- 8 9))) evaluates to -17. There is not a warning infrastructure developed yet, so malformed queries will result in a segmentation fault.

In this sense, yasc is (as of now) only a glorified RPN calculator.

Usage

Running yasc will begin a repl session. Running yasc-test will run the test suite (through google-test, so all the same configuration applies to yasc-test as would regular google-test projects).

Building

yasc is built through cmake, so the following commands should clone and build the project:

git clone https://github.com/jacob-hegna/yasc.git
mkdir -p yasc/build
cd yasc/build
cmake -G Ninja ../
ninja

yasc currently requires a compiler which supports c++17. I believe the only actual instances of non-c++14 features are structured bindings, but I do not have plans to support earlier compilers.

yasc's People

Contributors

jacob-hegna avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.