Giter Club home page Giter Club logo

junior-'s Introduction

#Junior-

##Hello. Currently this is being redesigned here 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

#include <editline/history.h>

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

cc -std=c99 -Wall bin/junior.c bin/libs/mpc.c -ledit -lm -o junior

On a Windows,

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) for both writing the book Build Your Own Lisp as well as providing the MPC library which makes it very to easy to do very cool things in C.

junior-'s People

Contributors

naltun avatar

Watchers

James Cloos avatar  avatar

junior-'s Issues

How to change './junior' to 'junior' as an executable program

Current, after I compile the updated Junior- REPL, I have to type ./junior into the terminal to load the interactive prompt.

Instead of this, I want Junior- to simply be executed by simply calling junior in the terminal.

I am unaware of how to do this.

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.