Jason Williams
9160b89edf
Changelog v0.11 ( #1052 )
...
v0.11
Co-authored-by: João Borges <rageknify@gmail.com>
Co-authored-by: Iban Eguia <iban.eguia@cern.ch>
4 years ago
dependabot[bot]
abd893ce19
Bump regex from 1.4.2 to 1.4.3 ( #1057 )
4 years ago
Iban Eguia
ba84f526de
Added syntax highlighting for numbers, identifiers and template literals ( #1047 )
...
* Added syntax highlighting for numbers, identifiers and template literals
* Update boa_cli/src/helper.rs
Co-authored-by: Jevan Chan <jevan.cnchan@gmail.com>
* Update boa_cli/src/helper.rs
Co-authored-by: Jevan Chan <jevan.cnchan@gmail.com>
Co-authored-by: Jevan Chan <jevan.cnchan@gmail.com>
4 years ago
Jason Williams
1052ccdd0c
Bytecode Interpreter (new branch) ( #860 )
...
Nodes implement CodeGen which generates instructions onto a stack held in Context.
The VM will interpret the instructions from Context.
There are some issues:
- Only basic instructions are added, but I'm working off https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Internals/Bytecode for now it should be easy to add more in.
- The Stack is a Vec, this isn't ideal (we may be able to live with it for now) but the stack should really be a fixed sized array. This isn't possible because Value can't be copied in there as it holds Rc and Gc values. Can we have fixed-sized Values that hold a pointer? Something like the "stackvec" crate should help
- put all VM related code behind "vm" feature flag
Co-authored-by: Jason Williams <jwilliams720@bloomberg.net>
Co-authored-by: Halid Odat <halidodat@gmail.com>
4 years ago
dependabot[bot]
a44e5c5403
Bump serde_json from 1.0.60 to 1.0.61 ( #1007 )
4 years ago
Jevan Chan
880792e422
Read file input in bytes instead of string ( #979 )
4 years ago
Iban Eguia
b058b2d8a5
Fixed build in master ( #977 )
4 years ago
dependabot[bot]
4e82a980c0
Bump rustyline from 7.0.0 to 7.1.0 ( #970 )
4 years ago
Iban Eguia
939d97d0a8
Upgraded rustyline and test262 ( #952 )
4 years ago
dependabot[bot]
c5c804dbe4
Bump serde_json from 1.0.59 to 1.0.60 ( #951 )
4 years ago
dependabot[bot]
6c6e71205e
Bump structopt from 0.3.20 to 0.3.21 ( #950 )
4 years ago
dependabot[bot]
ee8575de2e
Bump regex from 1.4.1 to 1.4.2 ( #924 )
4 years ago
Halid Odat
6eac058406
Code cleanup and inline ( #916 )
...
* use gc module
* Added #[inline]
* Change context valiable names to context
* Fix test262
* Update test262 submodule
* Fix: Switch interpreter for context
Co-authored-by: João Borges <rageknify@gmail.com>
4 years ago
Iban Eguia
be5d198b4d
CI workflow improvements (mostly Test262) ( #889 )
...
* Improved CI workflows
This improves several things in the CI workflows:
- More conformant Test262 result generation
- Benchmarks should now show comments for all users
- Added Test262 result comparison comments to Pull Requests
* Fixed typo
* Checking the comment generation
* Fixing conditions to test comments
* Fix a couple of bugs on the comparator
* Fixed format
* Trying to fix comment updating
* Removing commit autor when searching
* Replace the comment instead of appending
* Switched back to the `pull_request_target` event
4 years ago
dependabot[bot]
6834f7be25
Bump regex from 1.4.0 to 1.4.1 ( #866 )
4 years ago
dependabot[bot]
907030b1a3
Bump serde_json from 1.0.58 to 1.0.59 ( #856 )
4 years ago
dependabot[bot]
3859480d0e
Bump structopt from 0.3.19 to 0.3.20 ( #857 )
...
Bumps [structopt](https://github.com/TeXitoi/structopt ) from 0.3.19 to 0.3.20.
- [Release notes](https://github.com/TeXitoi/structopt/releases )
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.19...v0.3.20 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
36b7c31967
Bump regex from 1.3.9 to 1.4.0 ( #852 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.3.9 to 1.4.0.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.3.9...1.4.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
João Borges
fc8e5753e5
Fix: Set default-run to `boa` removing need for `--bin` ( #837 )
4 years ago
dependabot[bot]
89d2907884
Bump structopt from 0.3.18 to 0.3.19 ( #828 )
...
Bumps [structopt](https://github.com/TeXitoi/structopt ) from 0.3.18 to 0.3.19.
- [Release notes](https://github.com/TeXitoi/structopt/releases )
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.18...v0.3.19 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Halid Odat
39b4ead8f7
Feature `console` crate feature ( #800 )
...
* Put console object in a feature flag
* Add documentation for crate features
* fix typo
4 years ago
Halid Odat
3e60d2c554
Change author to boa-dev ( #764 )
4 years ago
Jason Williams
2d8f7b7dbc
changelog for v0.10.0 ( #738 )
...
Changelog for v0.10.0
Co-authored-by: joshwd36 <joshwd36@users.noreply.github.com>
Co-authored-by: Halid Odat <halidodat@gmail.com>
4 years ago
dependabot[bot]
e83a03ad6f
Bump serde_json from 1.0.57 to 1.0.58 ( #747 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.57 to 1.0.58.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.57...v1.0.58 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
c4e08ff5d1
Bump structopt from 0.3.17 to 0.3.18 ( #713 )
...
Bumps [structopt](https://github.com/TeXitoi/structopt ) from 0.3.17 to 0.3.18.
- [Release notes](https://github.com/TeXitoi/structopt/releases )
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.17...v0.3.18 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
c2014fb5a5
Bump rustyline from 6.2.0 to 6.3.0 ( #696 )
...
Bumps [rustyline](https://github.com/kkawakam/rustyline ) from 6.2.0 to 6.3.0.
- [Release notes](https://github.com/kkawakam/rustyline/releases )
- [Commits](https://github.com/kkawakam/rustyline/compare/v6.2.0...v6.3.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Halid Odat
edfafc4e03
Feature `Context` ( #656 )
...
- Move `Console` to `Context`
- Change `Context::global()` to `Context::global_object()`
- Remove some `use std::borrow::Borrow`
- Add some pub exports
- Add `Context::eval()`
- Deprecate forward_val, forward, exec
- Make boa_cli use Context::eval()
- Deprecated forward forward_val and exec
- Make deprecated functions
4 years ago
Iban Eguia
8fde98afa9
Add ECMAScript test suite (test262) ( #567 )
4 years ago
Paul Lancaster
cb93472b4a
New lexer ( #559 )
...
Co-authored-by: HalidOdat <halidodat@gmail.com>
Co-authored-by: Iban Eguia <razican@protonmail.ch>
Co-authored-by: Paul Lancaster <paul@lancasterzone.com>
Co-authored-by: neeldug <5161147+neeldug@users.noreply.github.com>
4 years ago
HalidOdat
c5b708b2ef
Moved value operations from `Interpreter` to `Value` ( #625 )
4 years ago
HalidOdat
4474b714b2
Added syntax highlighting for strings ( #595 )
4 years ago
João Borges
667a820dee
Introduce PropertyKey for field acces, fix #172 (quotes around displayed strings) ( #373 )
...
Co-authored-by: HalidOdat <halidodat@gmail.com>
4 years ago
HalidOdat
24a72ea847
Added keyword and operator colors and matching bracket validator to cli ( #590 )
4 years ago
HalidOdat
795adc519a
Better error formatting and cli color ( #586 )
4 years ago
Iovoslav Iovchev
a933ae8ef3
rustyline for the cli ( #492 )
...
Co-authored-by: Iban Eguia <razican@protonmail.ch>
5 years ago
HalidOdat
ca0eaeadb2
Removed `console`s dependency of `InternalState` ( #544 )
5 years ago
jasonwilliams
73f65f7800
0.9.0
5 years ago
Iban Eguia
477d408c10
Upgraded dependencies before the 0.9 release ( #537 )
5 years ago
Iban Eguia
d2939fffe3
Added string benchmarks, and updated dependencies ( #491 )
5 years ago
Pedro Paulo
c8218dd91e
Replacement of dead links ( #423 )
...
* Update repository link on Cargo.toml
* Update repository for Cargo.toml [WASM]
* Update link on CONTRIBUTING.md
Moving <https://github.com/jasonwilliams/boa/issues > to <https://github.com/boa-dev/boa/issues >
* Remove dead links on CHANGELOG.md
Changes all dead links from <https://github.com/jasonwilliams/boa > to <https://github.com/boa-dev/boa >.
* Fix dead link on boa/Cargo.toml
From <https://github.com/jasonwilliams/boa > to <https://github.com/boa-dev/boa >
* CHANGELOG.md - Fix link on comparing v0.7.0 with v0.8.0
Previously comparing v0.7.0...HEAD
5 years ago
Iban Eguia
4beadfc9ad
Execution and Node modularization ( #392 )
5 years ago
Jason Williams
2149bdc67b
v0.8.0
5 years ago
Iban Eguia
323f486fd1
Dependency upgrade ( #406 )
5 years ago
Iban Eguia
e0e17a8f76
Removed the `serde-ast` feature and the `serde_json` export ( #353 )
5 years ago
Victor Tuekam
55c85768c3
create boa-wasm package ( #352 )
5 years ago
HalidOdat
eb020d7f37
Fix #329 ( #334 )
5 years ago
razican
33fce7f015
Added jemallocator only for Linux targets
5 years ago
Julian Laubstein
f5d332c86e
change boa cli binary name to just "boa" ( #326 )
5 years ago
Iban Eguia
cb589cd8b7
Added more benchmarks ( #323 )
5 years ago
Jason Williams
5885e1bca3
v0.7.0
5 years ago