-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49 from Arthur-Aillet/readme
Readme
- Loading branch information
Showing
4 changed files
with
49 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,4 @@ ignore/ | |
test/coverage/* | ||
!test/coverage/.gitkeep | ||
*.cabal | ||
.history |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,46 @@ | ||
# GLaDOS | ||
![glados](GLaDOS.png) | ||
|
||
GLaDOS is a lisp interpreter with the goal to emulate the behaviour of shezscheme. | ||
|
||
# Installation | ||
To compile GLaDOS, use the MAKEFILE at the root of the directory. | ||
|
||
To use a Makefile, just use the "make" command. | ||
this makefile has other rules you can call by using make + [the command of your choice]: | ||
``` | ||
all (default) -> just compiles GLaDOS | ||
clean -> cleans the repository of unnecessary files | ||
fclean -> cleans the repository of unnecesary files and of the executable | ||
re -> calls fclean then all | ||
quick -> compiles without stack | ||
format -> formats the source code according to our coding style | ||
format-check -> checks if the code is to our coding style's standards | ||
test-run -> lanches a battery of unit tests | ||
funct-tests -> launches a battery of functional tests | ||
tests -> launches both the unit and functional tests | ||
``` | ||
For instance, if you want to recompile GLaDOS, you can use | ||
``` | ||
$ make re | ||
``` | ||
|
||
# Usage | ||
``` | ||
$ ./glados | ||
``` | ||
Opens the interractive command interpreter | ||
while the programm is running you can type your commands, press tab for autocompletion on keywords and defined variables, and press the up and down arrow to access the command history. | ||
|
||
|
||
``` | ||
$ ./glados < yourfile | ||
``` | ||
Executes the instructions in the file | ||
|
||
--- | ||
|
||
GLaDOS can only interpret Lisp. to read more about lisp. | ||
here's a basic Lisp tutorial to get you started: | ||
https://lisp-lang.org/learn/ | ||
|
||
there are also examples in the test/samples directory. |