dependabot[bot]
0f5744ee65
Update rustyline-derive requirement from 0.4.0 to 0.5.0 in /boa_cli ( #1478 )
3 years ago
dependabot[bot]
1b872984c2
Bump rustyline from 8.2.0 to 9.0.0 ( #1481 )
3 years ago
dependabot[bot]
05b6054860
Bump serde_json from 1.0.64 to 1.0.66 ( #1448 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.64 to 1.0.66.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.64...v1.0.66 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
88452aac75
Bump structopt from 0.3.21 to 0.3.22 ( #1386 )
3 years ago
dependabot[bot]
520eb5955d
Bump rustyline from 8.1.0 to 8.2.0 ( #1268 )
4 years ago
dependabot[bot]
b8b0a7edba
Bump rustyline from 8.0.0 to 8.1.0 ( #1263 )
4 years ago
Iban Eguia
7ee3a93fcc
Upgraded dependencies and fixed some clippy warnings/errors ( #1228 )
4 years ago
dependabot[bot]
53757cf8d2
Bump regex from 1.4.5 to 1.4.6 ( #1215 )
4 years ago
João Borges
505a2ddaf6
Style: Respect the new lints from 1.51 ( #1194 )
4 years ago
dependabot[bot]
105dde4628
Bump regex from 1.4.4 to 1.4.5 ( #1174 )
4 years ago
dependabot[bot]
44926353af
Bump regex from 1.4.3 to 1.4.4 ( #1171 )
4 years ago
dependabot[bot]
76afaba014
Update rustyline requirement from 7.1.0 to 8.0.0 in /boa_cli ( #1167 )
4 years ago
dependabot[bot]
2f215da916
Bump serde_json from 1.0.62 to 1.0.64 ( #1149 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.62 to 1.0.64.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.62...v1.0.64 )
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]
a9dbbe0c44
Bump serde_json from 1.0.61 to 1.0.62 ( #1122 )
4 years ago
Jason Williams
8cdc886b74
VM Trace output fixes #1035 ( #1048 )
...
* no more need for dbg!()
* pass -t or --trace for tracing output
* documentation on output
4 years ago
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>
4 years ago