This repository has been archived by the owner on Jun 6, 2019. It is now read-only.
-
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.
Pushed v1.1.0 content for release.
- Loading branch information
Showing
5 changed files
with
93 additions
and
18 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Changelog | ||
### Local Debugging | ||
* Debugging of **JeeScript** files can be done using the ``MODE DEBUG`` line at the end of the file. | ||
### Interpreter | ||
* Relabeled sections of interpreter-file. | ||
* Renamed interpreter-file from ``lexer.py`` to ``interpreter.py``; ``interpreter.py`` includes the lexer, parser, and correction functions. | ||
* Changed ``if`` statement for the debugging mode to ``elif`` to prevent command-prompt errors from occurring. | ||
* Made the interpreter check the file being executed to see if it's a compatible **JeeScript** file. | ||
* Added the ``funcdata`` variable for use collecting function information. | ||
### Command-Prompt/Terminal | ||
* Debugging can now be enabled via the command-prompt by adding ``DEBUG`` to the end of the arguments. This is the equivalent to adding ``MODE DEBUG`` within a **JeeScript** file, but this method is less-dependent on when the tokens are added to the interpreter. | ||
### Functions | ||
* **JeeScript's** interpreter now comes with a built-in function that can be used by typing ``LOAD`` or ``load``. This function allows developers to load separate **JeeScript** files programmatically for execution. |
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,3 +1,6 @@ | ||
# COPYRIGHT (C) GAVIN ISGAR 2018 | ||
# JEESCRIPT V1.0.0 INTERPRETER | ||
|
||
from sys import * | ||
|
||
tokens = [] | ||
|
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
WRITE "This is a test" |
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,3 +1,4 @@ | ||
WRITE "Hello World" | ||
write "Hi" | ||
WRITE "200+200" | ||
WRITE "Hello 2" | ||
WRITE (2+2) | ||
LOAD("../tests/hi.jee") |