Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/naltun/junior-

A discontinued Lisp dialect
https://github.com/naltun/junior-

Last synced: 2 days ago
JSON representation

A discontinued Lisp dialect

Awesome Lists containing this project

README

        

#Junior-

##Hello. Currently this is being redesigned [here](https://github.com/naltun/junior) and there will be no further modifications to this software, unless otherwise noted.

Junior- is a dialect of Lisp. I am making this project to understand
more of the C language, learn how to program my own language, and learn more
about functional languages.

###How to run
---
If you are using Windows, the behaviour of the ```editline``` library is added
by default.

If you are using a Mac, then the ```editline``` library already comes with
your command line tools. If, however, that you receive an error based on
this library, remove the line
```c
#include
```
This should now work.

On a GNU/Linux (Linux) machine, you can install the editline
library by using your package management tool
(eg, ```sudo apt-get``` in Debian/Ubuntu), and typing
```install libedit-dev```. This will get you up and running with editline.

####Compiling
Currently, the method of compiling the current program is as follows:

If you are using a Unix/Linux machine (OS X is Unix), then run the command
```shell
cc -std=c99 -Wall bin/junior.c bin/libs/mpc.c -ledit -lm -o junior
```

On a Windows,
```shell
cc -std=c99 -Wall bin/junior.c bin/libs/mpc.c -o junior
```

Please be aware, you can change the executable to any name you'd like. However,
the parameters given to the C Compiler (cc) must be added (which are OS-specific)
in order to be compiled properly.

###Credit
---
This project is made possible through [Daniel Holden (orangeduck)](https://github.com/orangeduck)
for both writing the book [Build Your Own Lisp](http://buildyourownlisp.com/)
as well as providing the [MPC library](https://github.com/orangeduck/mpc) which makes it very to easy to do very
cool things in C.