Skip to content

Scheme like toy programming language written in TypeScript

Notifications You must be signed in to change notification settings

encse/mini-scheme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mini Scheme

Scheme-like toy programming language written in TypeScript. The project was greatly inspired by the books The Little Schemer and The Seasoned Schemer from Daniel P. Friedman and Matthias Felleisen and especially by the cute illustrations of Duane Bibby. I also liked SICP when I read it a few years ago, and always wanted to come up with my own functional looking something something.

The most iteresting part, that actually made me to implement this, was the call-with-current-continuation construct or call/cc for short (experienced lispers and schemers are now probably banging their heads against the wall because I’m not drawing a clear difference between the two). I just wanted to play with this construct a bit so that I understand it better. Also I haven't written an interpreter that supported anything like that before, so it was the best time to start.

Since a simple interpreter would have been too simple and not very interesting to demo, I also added an editor (built on ACE) and some rudimentary debug functionality.

Hosted version

You can try it out right now with steering your browser to https://mini-scheme.csokavar.hu/

Getting Started

This project was bootstrapped with Create React App.

You can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build

Builds the app for production to the docs folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.

About

Scheme like toy programming language written in TypeScript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published