a76c20e868
fix: revert removal of Jabel (for support of Java 11)
2024-09-04 14:30:46 +03:00
7ec0917e95
fix: revert to old master
...
(i forgot to do the new ES6 stuff in a new branch)
2024-09-04 14:29:57 +03:00
marregui
6bfe50220d
Add the first test and upgrade build.gradle to modern standards
...
1. gradle wrapper
2. ./gradlew run
3. manifest will look like
Manifest-Version: 1.0
Main-Class: me.topchetoeu.jscript.runtime.SimpleRepl
Build-Timestamp: 2024-09-04T10:44:35.990+0200
Build-Branch: ma/add-first-tests
Build-Revision: 412edc0ebc
Build-Jdk: 21.0.3 (Oracle Corporation 21.0.3+7-LTS-152)
Build-Author: TopchetoEU
4. build/distributions contains a zip and a jar which contain jscript-0.9.41-beta.jar
5. unnecessary libs have been removed
6. gradle has been updated to 8.10
7. first test has been added
2024-09-04 10:50:06 +02:00
412edc0ebc
feat: implement optional arguments
2024-09-01 23:09:52 +03:00
25bd131153
refactor: move away intrinsic logic to final methods for performance
2024-09-01 22:20:36 +03:00
847150e21d
fix: control flow nodes were making scopes instead of compound nodes
2024-09-01 22:19:56 +03:00
ded0dccabe
oops
2024-09-01 17:44:20 +03:00
fc24278b0a
refactor: change how function scope keeps track of arguments
2024-09-01 17:43:49 +03:00
672c6b2ad7
refactor: remove unused class
2024-09-01 17:24:23 +03:00
acfdf23586
refactor: make some classes final for performance
2024-09-01 17:13:57 +03:00
1ac6513c00
fix: add for-of to statement list
2024-09-01 17:10:16 +03:00
99cef98389
feat: implement access to intrinsics
2024-09-01 17:10:07 +03:00
09c24b4e77
fix: for in and for of not reading open paren
2024-09-01 17:07:15 +03:00
a9a19824fe
major rewrite: clean up a lot of code and lay ground for ES6 support
2024-09-01 16:44:51 +03:00
d4f6b24c28
feat: implement "has" function for scopes
2024-08-31 20:05:41 +03:00
ee764713f5
feat: Create new scope system for ES6+ support
2024-08-31 20:02:25 +03:00
aa23f721ff
refactor: rename statements to nodes
2024-08-30 21:30:13 +03:00
1e42b64ccf
feat: add environment in Source
2024-08-30 21:00:20 +03:00
a6b4f3bc87
refactor: make Environment more reusable
2024-08-30 18:48:48 +03:00
6767a707ed
refactor: rename ES5 to JavaScript
2024-08-30 18:48:30 +03:00
a0f0550c81
everything all at once
2024-08-30 17:36:33 +03:00
d843cdff6e
refactor: clean up parsing
2024-08-27 13:53:52 +03:00
810eb8ff70
refactor: distribute parse functions in node classes
2024-08-25 21:53:29 +03:00
a273959d80
refactor: Transition to a Value class
2024-08-25 19:10:05 +03:00
a4a9574be4
refactor: Remove environment-related bloat
2024-08-24 22:18:20 +03:00