diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-06-25 05:04:14 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-06-25 05:04:14 +0300 |
commit | 03f70283de65189a1dc3b4b14377dab258ca2b9a (patch) | |
tree | 052480bbfbc56ce610bd85f550a1523cfe59cc25 /README.md | |
parent | README update (diff) | |
download | simple-interpreter-03f70283de65189a1dc3b4b14377dab258ca2b9a.tar.gz simple-interpreter-03f70283de65189a1dc3b4b14377dab258ca2b9a.zip |
README update
Diffstat (limited to '')
-rw-r--r-- | README.md | 21 |
1 files changed, 14 insertions, 7 deletions
@@ -1,10 +1,12 @@ -# Simple interpreter +Simple interpreter +================== An interpreter of a simple (deficient, really) programming language. Here you'll find a brief description of the language and the implementation. -## The language +The language +------------ ### Data types @@ -141,7 +143,8 @@ The language grammar in the [Extended Backus-Naur Form] (EBNF) is as follows: [Extended Backus-Naur Form]: https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_Form -## Design +Design +------ ### Lexer @@ -196,18 +199,22 @@ executes its body only after making sure the condition evaluates to `True`. The parser is implemented in "src/parser.py". -## Prerequisites +Prerequisites +------------- -* Python 3 +Requires Python 3. +The author is using Python 3.5.1. -## Usage +Usage +----- To execute a script, pass the path to a file to "src/parser.py". You can also pass the path to a script to "src/lexer.py" to examine the tokens the script gets separated into. -## License +License +------- This project, including all of the files and their contents, is licensed under terms of the MIT License. |