Skip to content

dme2/joy-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A fairly straightforaward implementation of the Joy programming language.

Joy is a stack based language (think Forth), with some higher level features like combinators, maps, and folds (think Haskell).

Here are some small examples, try typing them in after compiling and running ./joy

joy~> X == 1 
joy~> 3 X +

joy~> 1 [X =] i 

joy~> [1 2 3 4] [X +] map

compile with: g++ joy.cc --std=c++17 -o joy (or just type make). Tested on Linux and macOS.

This is still very much a work in progress. Not all primitives are implemented yet, but most of the examples in the tutorial should work fine.

About

an implementation of joy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published