Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplifier #21

Open
wants to merge 52 commits into
base: dev
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
25fe0f2
feat: wip simplifier utils
robin-samuel Nov 2, 2024
5ca78e4
feat: completed optimizeMemberExpression
robin-samuel Nov 4, 2024
20b1847
feat: completed optimizeBinaryExpression
robin-samuel Nov 9, 2024
27b4af4
feat: completed optimizeUnaryExpression
robin-samuel Nov 9, 2024
136868d
feat: implemented visitor api for simplifier
robin-samuel Nov 9, 2024
b83034f
fix: some bugs
robin-samuel Nov 9, 2024
a77e561
feat: added some builtin func to str conversions
robin-samuel Nov 9, 2024
bf8ac81
feat: added a jsfuck test
robin-samuel Nov 9, 2024
dc361fc
fix: some loops & call expr visitor
robin-samuel Nov 9, 2024
85ca5cc
Merge branch 'dev' into simplifier
robin-samuel Nov 14, 2024
af96208
fix: simplifier traversal
robin-samuel Nov 15, 2024
f9c5b9d
fix: remove test folders
robin-samuel Nov 15, 2024
9a7c08a
Merge branch 'dev' into simplifier
robin-samuel Nov 15, 2024
1ab6d82
feat: moved ecma_utils funcs into own ast/ext package
robin-samuel Nov 16, 2024
b239ef3
feat: optional resolve
robin-samuel Nov 16, 2024
6e36ade
fix: made resolve arg required
robin-samuel Nov 16, 2024
2057204
ast/ext: Improved how types and values are implemented (not finished)
T14Raptor Nov 19, 2024
17570f3
fix: update value in ast/ext
robin-samuel Nov 26, 2024
5b1f018
fix: simplify boolean type checks in CastToBool function
robin-samuel Nov 26, 2024
fd2aed2
Merge branch 'dev' into simplifier
robin-samuel Nov 26, 2024
761dc77
fix: finalized ast/ext Value implementation in simplifier
robin-samuel Nov 27, 2024
1c2b0e5
fix: imports
robin-samuel Nov 27, 2024
b228852
feat: improved simplifier
robin-samuel Nov 27, 2024
f0d90d3
feat: add first simplify tests
robin-samuel Nov 27, 2024
cc5d71e
fix: computed prop as string
robin-samuel Nov 27, 2024
5129f42
fix: parser remove unicode bom char on parseStringLiteral
robin-samuel Nov 27, 2024
598d1a7
fix: parser made function name optional
robin-samuel Nov 27, 2024
94b0a53
fix: generator Inf on NumberLiteral
robin-samuel Nov 27, 2024
7ed7baa
fix: ast Idx1 missing raw value
robin-samuel Nov 27, 2024
e35a7aa
feat: added bunch of tests for simplifier
robin-samuel Nov 27, 2024
e133d7f
fix: simplifier a lot of messy bugs
robin-samuel Nov 27, 2024
9959e1f
fix: optimize member expressions also in callee
robin-samuel Dec 1, 2024
053643e
fix: optimize member expressions
robin-samuel Dec 1, 2024
777e980
refactor: remove obsolete simplifier test file
robin-samuel Dec 1, 2024
130809f
fix: correct array literal handling in simplifier
robin-samuel Dec 2, 2024
808e6b3
ext: detect unary as literals
robin-samuel Dec 3, 2024
c9b7026
Merge branch 'dev' into simplifier
robin-samuel Dec 16, 2024
2117973
Merge commit 'fc9b07de5128c2cf32b80b8251ba6c76df1da596' into simplifier
robin-samuel Dec 16, 2024
e44d014
fix: IsPureCallee
robin-samuel Dec 16, 2024
19242c8
Merge branch 'dev' into simplifier
robin-samuel Dec 31, 2024
ced4bd0
Merge remote-tracking branch 'origin/dev' into simplifier
robin-samuel Jan 12, 2025
af739e7
fix: unexported simplifier
robin-samuel Jan 13, 2025
c06899c
feat: simplify computed props to idents
robin-samuel Jan 27, 2025
f2b4c72
fix: simplify computed props to idents
robin-samuel Jan 28, 2025
8c1516c
Merge branch 'dev' into simplifier
robin-samuel Jan 28, 2025
2f1ea85
fix: keep scope on member expressions
robin-samuel Feb 7, 2025
4ca9431
Revert "fix: keep scope on member expressions"
robin-samuel Feb 7, 2025
c452af2
Merge branch 'dev' into simplifier
robin-samuel Feb 7, 2025
ac5e772
Merge branch 'dev' into simplifier
robin-samuel Feb 13, 2025
e69b593
fix: simplifier float to string conversion
robin-samuel Mar 23, 2025
343f6ce
fix: float conversion using goja's ftoa pkg
robin-samuel Mar 23, 2025
6200caf
fix: update import path for internal fast package
robin-samuel Mar 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'dev' into simplifier
robin-samuel committed Feb 7, 2025
commit c452af266df2af7370f2f9b488016787b6fe652c

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.