WofWca
dc2f874947
demo: improve editor look, add initial code ( #169 )
...
* Change editor theme from dark to light, to match the website theme
* Disable editor minimap
* Initialize the editor with "Hello, World!" program
5 years ago
evomassiny
3b1074d659
Handle white spaces as described in ECMAScript specs ( #155 )
...
* Handle white spaces as described in ECMAScript specs
5 years ago
simon brahan
b7afdae3af
Implement array.indexOf and .lastIndexOf ( #148 )
...
* Implemented array indexOf.
* Implemented array lastIndexOf
5 years ago
Jason Williams
43c393304e
Update CHANGELOG.md
5 years ago
Dom Parfitt
92469528f9
Updated object global ( #147 )
5 years ago
Bojan Đurđević
fc8fb01e1b
String match all fixes #115 ( #138 )
...
* String.matchAll implementation
5 years ago
Jason Williams
172e8fdc6e
Update CHANGELOG.md
5 years ago
Victor Tuekam
a93f05cfe1
implement string.match(regexp) ( #131 )
...
* implement string.match(regexp)
5 years ago
Jason Williams
090126ea13
cargo fmt
5 years ago
Jason Williams
d31c6ba336
Update CHANGELOG.md
5 years ago
Mathias Peters
f6467db21b
Fix clippy warnings ( #153 )
...
* Fixed clippy warnings option_unwrap_used and result_unwrap_used.
* Fixed float_cmp clippy error and the option_unwrap_used it was hiding.
* Fixed shadowing issues.
* Disabled some clippy lints in tests.
* Fixed clippy string_add issues.
* Added allow else_if_without_else since an else-block would not make sense.
* Fixed integer arithmetic issues.
* Fixed all clippy get_unwrap issues.
* Fixed usage of unimplemented and an occurrence of variable name shadowing.
* Fixed indexing may panic issues.
* Fixed a slicing may panic issue.
* Changed some unnecessary uses of match that I introduced for expect.
5 years ago
Jason Williams
8e64db6cf4
Update CHANGELOG.md
5 years ago
Dom Parfitt
6c3519f957
WIP - Update JSON Global ( #129 )
...
* Added create_constructor method
* Updated global to use json::create_constructor method
* unassigned var is undefined (#125 )
* Unassigned variables are set to `undefined` not `null`
Fixes #113
* Rust tests for `var x` and `let x` default to undefined
* CHANGELOG for issue #113 fix + add tests/js/test.js to gitignore.
* fixing PR benchmarks (#132 )
* fixing PR benchmarks
* Push after rebase
* Updated import order
* Formatting
5 years ago
Dom Parfitt
44d92c9220
Added create_constructor method ( #144 )
5 years ago
StackDoubleFlow
8de0889d6b
Use Monaco Editor for demo. ( #145 )
5 years ago
Jason Williams
8a269881a5
Update CHANGELOG.md
5 years ago
eman0n
117584c690
[Lexer]add single and multiple line test ( #134 )
...
* [Lexer]add single and multiple line test
* reformat the test
* fix tests
5 years ago
Dom Parfitt
6e90b74639
Update console global ( #143 )
...
* Added create_constructor method
* Added new console constructor to realm
5 years ago
Jason Williams
f63def7248
Update CHANGELOG.md
5 years ago
simon brahan
ce70796581
Implement exponentiation operator ( #130 )
...
* Exponentiation (**) now works.
Added missing NumOp type, token match, and calculation.
* Assignment exponentiation (**=) now works.
Added missing AssignOp type, token match, and calculation.
This fixes #89 .
5 years ago
Jason Williams
1ff7b5e10e
Update CHANGELOG.md
5 years ago
WofWca
a48b9b8aab
Improve demo ( #136 )
...
* demo: evaluate on input instead of on button press
* demo: use `monospace` font
* demo: make the input blank initially (remove space)
5 years ago
Jason Williams
38b1a9d6a1
Test2 ( #135 )
...
* testing
* updating yml
* sd
* env
5 years ago
Jason Williams
5df34762e6
fixing PR benchmarks ( #132 )
...
* fixing PR benchmarks
5 years ago
Elijah Caine M. Voigt
d798566377
unassigned var is undefined ( #125 )
...
* Unassigned variables are set to `undefined` not `null`
Fixes #113
* Rust tests for `var x` and `let x` default to undefined
* CHANGELOG for issue #113 fix + add tests/js/test.js to gitignore.
5 years ago
Jason Williams
1c3fea4cf1
replacing ExecutorBuilder with Realm ( #126 )
...
* replacing ExecutorBuilder with Realm
* fixing global_env
* adding benchmark for realm
* instrinsics was being called twice
* update changelog
5 years ago
Jason Williams
48819b6801
updating readme
5 years ago
Jason Williams
8851eba27d
adding CHANGELOG
5 years ago
Jason Williams
11d59dcbaf
Merge branch 'master' of github.com:jasonwilliams/boa
5 years ago
Jason Williams
b02cb58dda
0.4.0
5 years ago
Jason Williams
27178e1645
fixes #10 ( #112 )
5 years ago
arbroween
83616efca7
implements toLowerCase, toUpperCase, substring, substr and valueOf String prototype methods ( #91 )
5 years ago
Jason Williams
821632972b
Addition of arguments object ( #109 )
...
* testing PR
* making a start to arguments object
* arguments
* finishing arguments for now
5 years ago
Jason Williams
25dd67f4d3
adding debugging section to docs
5 years ago
Jason Williams
c0851561ea
fixes #99 ( #110 )
5 years ago
Julian Laubstein
6da58a21b8
Set proper base for boashell ( #107 )
5 years ago
Olle Sandberg
d98b42c8bb
Implement assign operators ( #95 ) ( #97 )
...
* Operators implemented: +=, -=, /=, *=, %=, &=, |=, ^=, <<=, >>=
* Add parser tests for new operators
5 years ago
Jason Williams
35103b0095
Update pull_request.yml
...
Checkout files
5 years ago
Jason Williams
aa8ab62420
attempting to use my Github action to try commenting on PRs
5 years ago
Jason Williams
dd62849b5d
setting the cache back on ( #105 )
...
* setting the cache back on
* fixing bench not working
5 years ago
Jason Williams
fecdcd5be4
pull_request
5 years ago
Jason Williams
73d158cce2
testing small change ( #104 )
5 years ago
Jason Williams
4e50debbbd
adding pull_request
5 years ago
Jason Williams
15c1c66316
trying benchmarks ( #102 )
5 years ago
Jason Williams
be9e93ac9c
fixing fmt
5 years ago
Jason Williams
fe83cec31f
attempting to remove cache to bump version
5 years ago
Jason Williams
910d20f6a5
support early returns, fixes #101
5 years ago
Jason Williams
0cf4bbbacd
Update rust.yml
...
Adding Github Action
5 years ago
Jason Williams
1f68ddc659
Update README.md
5 years ago
Jason Williams
2eea64b171
wasm-pack fixed temporarily
5 years ago