Skip to content

interpreter for the Lisp-like programming language XEN, written in C

Notifications You must be signed in to change notification settings

anistarafdar/xen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XEN

interpreter for the XEN programming language

Xen (pronounced "zen"), is an interpreter for a Lisp-like programming language written in C for personal/educational purposes. As it's heavily inspired and based on the Lisp family of languages, it is very simple to use.

This project was written as an introduction to building programming languages, the Lisp family of languages, and C programming.

Getting Started

Install libedit-dev for the editline libraries on Unix systems, then build with a C99 compliant compiler, such as gcc or clang.

On Unix

cc -std=c99 -Wall xen.c mpc/mpc.c -ledit -lm -o xen

On Windows

cc -std=c99 -Wall xen.c mpc/mpc.c -o xen

Links

http://buildyourownlisp.com/

https://github.com/gtr/ivy

http://hactar.port70.net/stutter/

TODO

  • fix build errors and provide a make file
  • finish writing readme
  • show off features in the readme
  • add more useful features
  • clean repo and codebase
  • test compiles on other systems