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
49b52d90a7
fix: wrappers cache compare objects with .equals and not ==
2024-04-21 11:03:00 +03:00
8a8de518a6
feat: make Function constructor
2024-04-20 23:44:02 +03:00
099201e4ad
refactor: remove testing junk in REPL
2024-04-20 22:23:45 +03:00
f8553b79f9
fix: run module in an isolated context
2024-04-20 22:22:55 +03:00
ba6462458c
fix: some fixes in the filesystem
2024-04-20 22:18:47 +03:00
e33cdbb172
fix: properties not applied to wrappers without constructor method
2024-04-13 01:03:34 +03:00
fc6ddf7d3c
feat: allow interface proxy wrappers
2024-04-12 16:37:06 +03:00
7f275095a2
fix: continue statement compiled incorrectly
2024-04-07 12:50:58 +03:00
90d019f92a
bump
2024-04-07 12:33:48 +03:00
6fb31be12c
fix(debugger): handle all errors when generating description
2024-04-07 12:33:26 +03:00
d6ede0b404
fix: incorrect toFixed behavior
2024-04-03 15:52:01 +03:00
71b40240c0
feat: add Number.toFixed
2024-04-03 15:09:01 +03:00
a8775d212f
fix: clean up extensions at some points
2024-04-03 14:52:29 +03:00
71872a8d64
fix
2024-04-03 14:25:14 +03:00
c707f880f7
fix: use Extensions instead of Environment
2024-04-03 14:21:23 +03:00
0d629a6e82
fix: use correct class instead of proxy
2024-04-03 12:27:15 +03:00
6eea342d04
fix: fuck
2024-04-02 18:24:43 +03:00
ece9cf68dc
fix: correctly update proto chain
2024-04-02 18:19:05 +03:00
11ecd8c68f
fix: exec debugger close logic on application exit
2024-04-02 18:05:49 +03:00
48bd304c6e
fix: environment forks fixes
2024-04-02 18:05:20 +03:00
d8e46c3149
fix: clone environment correctly
2024-03-31 16:11:32 +03:00
5fc5eb08f8
fix: update breakpoints when removing bp
2024-03-30 12:52:44 +02:00
8acbc003c4
fix: properly resolve breakpoints
2024-03-30 12:13:04 +02:00
fda33112a7
fix: load maps when attaching debugger
2024-03-30 11:13:45 +02:00
67b2413d7c
bump2
2024-03-30 10:36:55 +02:00
3a05416510
bump
2024-03-30 10:30:26 +02:00
c291328cc3
fix: detach debugger after close
2024-03-30 10:22:12 +02:00