HalidOdat
7b2c722d1b
fixed doc test
5 years ago
HalidOdat
80f7af370b
Added some documentation to Keyword
5 years ago
HalidOdat
487a719aa8
Update boa/src/syntax/ast/op.rs
...
Co-Authored-By: Iban Eguia <razican@protonmail.ch>
5 years ago
HalidOdat
5a76bf5692
Update boa/src/syntax/ast/op.rs
...
Co-Authored-By: Iban Eguia <razican@protonmail.ch>
5 years ago
HalidOdat
9985dd934d
Update boa/src/syntax/ast/op.rs
...
Co-Authored-By: Iban Eguia <razican@protonmail.ch>
5 years ago
HalidOdat
b6c83f3349
Removed long links
5 years ago
HalidOdat
f8012bc408
Update boa/src/syntax/ast/op.rs
...
Co-Authored-By: Iban Eguia <razican@protonmail.ch>
5 years ago
HalidOdat
0023116b0b
Update boa/src/syntax/ast/op.rs
...
Co-Authored-By: Iban Eguia <razican@protonmail.ch>
5 years ago
HalidOdat
bdb65d6d56
fixed spelling mistake
...
Co-Authored-By: Iban Eguia <razican@protonmail.ch>
5 years ago
HalidOdat
919029bc55
Added root project documentation
5 years ago
HalidOdat
593955f951
fixed NumOp documentation
5 years ago
HalidOdat
d45e33da78
Added documentation to AssignOp
5 years ago
HalidOdat
788f27d8e7
Added documentation to LogOp
5 years ago
HalidOdat
9b1c508da1
Added documentation to CompOp
5 years ago
HalidOdat
d9a81a94fd
Added documentation to NumOp, UnaryOp and BitOp
5 years ago
Noah
271e2b4da6
Put JSON functions on the object, not the prototype ( #325 )
...
* Move JSON functions to the object, not the prototype
* Fix Value.to_json and add JSON tests
* Update boa/src/builtins/json.rs
* Update boa/src/builtins/json.rs
* Update boa/src/builtins/json.rs
* Update json.rs
* Fix fmt issues.
Co-authored-by: Iban Eguia <razican@protonmail.ch>
Co-authored-by: HalidOdat <halidodat@gmail.com>
5 years ago
Iban Eguia
19fcd2837d
Fixing master build ( #342 )
...
* Fixing master build
* Using gh-pages as default branch
5 years ago
Radek Krahl
7abb94abf5
console functions ( #315 )
...
* Exec do..while tests.
* Parser do..while test.
* Do..while loop parser and exec implementation
* rustfmt fixes
* Update boa/src/exec/mod.rs
Co-Authored-By: HalidOdat <halidodat@gmail.com>
* Use expect(), make expect() skip newlines
* rustmf fixes
* Revert "Use expect(), make expect() skip newlines"
This reverts commit 517c4d0e06
.
* Cargo Test Build task and Debug Test (Windows) launcher
* First attempt at console.assert implementation. Tests are just for
debugging. Run `cargo test console_assert -- --nocapture` to see stderror
messages.
* Refactoring - remove unnecessary map, variable rename.
* Update boa/src/builtins/console.rs
changes from HalidOdat
Co-Authored-By: HalidOdat <halidodat@gmail.com>
* Documentation fixes
* Remove space from documentation comment
* Update boa/src/builtins/console.rs
Simplify message printing.
Co-Authored-By: Iban Eguia <razican@protonmail.ch>
* Update boa/src/builtins/console.rs
Improve docs.
Co-Authored-By: Iban Eguia <razican@protonmail.ch>
* Update boa/src/builtins/console.rs
Improve getting of assertion result.
Co-Authored-By: Iban Eguia <razican@protonmail.ch>
* rustfmt
* console.count() and console.countReset() implementation
* Console state as native rust type, temporarily placed in Realm.
* console.time[,Log,End] methods implementation
* ConsoleState as internal state in console object.
* Fix merge mess
* Formatter function, get_arg_at_index moved out to function
* Fix merge mess, pt. 2
* console.group* functions
* Moved console code to its own subdirectory, formatter tests, fixed utf-8
handling.
* Most functions implemented.
* Basic logger and logLevel implementation
* console.group uses logger
* console.dir (and at the same time dirxml) implementation
* Make builtins::value::display_obj(...) public
* Update boa/src/builtins/console/mod.rs
Co-Authored-By: HalidOdat <halidodat@gmail.com>
* Update boa/src/builtins/console/mod.rs
Co-Authored-By: HalidOdat <halidodat@gmail.com>
* Update boa/src/builtins/value/mod.rs
Co-Authored-By: Iban Eguia <razican@protonmail.ch>
Co-authored-by: HalidOdat <halidodat@gmail.com>
Co-authored-by: Iban Eguia <razican@protonmail.ch>
5 years ago
HalidOdat
74c7375a7a
Added logo and favicon to boa documentation ( #343 )
...
* Added logo and favicon to boa documentation
* Update lib.rs
5 years ago
Iban Eguia
91bece6f62
Improved CI workflows ( #330 )
5 years ago
Victor Tuekam
a9372b7779
Method parsing ( #339 )
5 years ago
HalidOdat
eb020d7f37
Fix #329 ( #334 )
5 years ago
HalidOdat
44de1901ea
Merge pull request #312 from jasonwilliams/fix_309
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
05b8989efd
Changed the name of the `Symbol creation` benchmark ( #327 )
5 years ago
HalidOdat
7dd32a6859
Added continuous integration for windows ( #318 )
5 years ago
Iban Eguia
cb589cd8b7
Added more benchmarks ( #323 )
5 years ago
Iban Eguia
8574ea1768
Added more build profiles ( #290 )
5 years ago
HalidOdat
505df912ad
Fixed assign operator precedence ( #311 )
...
Co-authored-by: Iban Eguia <razican@protonmail.ch>
5 years ago
Radek Krahl
9c638cc14f
Implement do..while loop ( #306 )
...
Co-authored-by: HalidOdat <halidodat@gmail.com>
Co-authored-by: Iban Eguia <razican@protonmail.ch>
Co-authored-by: Iban Eguia <razican@protonmail.ch>
5 years ago
Jason Williams
2ca60ce196
Update CHANGELOG.md
5 years ago
Jason Williams
8b9f761644
Update README.md
5 years ago
Jason Williams
5885e1bca3
v0.7.0
5 years ago
Jason Williams
ea127b3d75
updated to playground output
5 years ago
Jason Williams
ad0d132650
updating yanr lock
5 years ago
Jason Williams
1184456ab7
update changelog for upcoming 0.7.0 ( #271 )
...
* update changelog for v0.7.0
5 years ago
Jason Williams
a0db788ed6
adding test for #273 ( #313 )
5 years ago
Jason Williams
0274858d88
Revert "Use jemallocator ( #298 )" ( #310 )
...
This reverts commit 795a70ec89
.
5 years ago
HalidOdat
f1f49d14ba
Fixed center alignment of logo. ( #305 )
5 years ago
Iban Eguia
48ab045ac2
Updated contribution documentation ( #297 )
5 years ago
Iban Eguia
38db4dc316
Added a test for #208 ( #303 )
5 years ago
Iban Eguia
795a70ec89
Use jemallocator ( #298 )
...
Added jemallocator as the global allocator for binary and benchmarks
5 years ago
Jason Williams
8002a959a0
Update CONTRIBUTING.md
5 years ago
Iban Eguia
4ed7122199
Fixed positions in regexes and strict operators. ( #295 )
...
I also removed an unused function in the parser and added a test for #294 , currently ignored.
5 years ago
Jason Williams
8943953a79
fix vulnerabiliies via upgrade
5 years ago
HalidOdat
c365576f37
Implemented the Array.prototype.some method. ( #280 )
...
- Implementd Array.prototype.some method.
- Added tests for Array.prototype.some method.
5 years ago
Jason Williams
48c6e886d4
Parser fixes #225 #240 #273 ( #281 )
...
New parser!
Plus loads of tidy up in various places.
Co-authored-by: Jason Williams <jwilliams720@bloomberg.net>
Co-authored-by: HalidOdat <halidodat@gmail.com>
Co-authored-by: Iban Eguia <iban.eguia@cern.ch>
Co-authored-by: Iban Eguia <razican@protonmail.ch>
5 years ago
HalidOdat
5a85c595d4
Added the ability to dump the token stream or ast in bin. ( #278 )
...
* Added the ability to dump the token stream or ast in bin.
The dump functionality works both for files and REPL.
With --dump-tokens or -t for short it dumps the token stream to stdout and --dump-ast or -a for short to dump the ast to stdout.
The dumping of tokens and ast is mutually exclusive. and when dumping it wont run the code.
* Fixed some issues with rustfmt.
* Added serde serialization and deserialization to token and the ast.
* Added a dynamic multi-format dumping of token stream and ast in bin.
- Changed the --dump-tokens and --dump-ast to be an optional argument that optionally takes a value of format type ([--opt=[val]]).
- The default format for --dump-tokens and --dump-ast is Debug format which calls std::fmt::Debug.
- Added Json and JsonMinified format for both dumps, use serde_json internally.
- It is easy to support other format types, such as Toml with toml-rs for example.
* Made serde an optional dependency.
- Serde serialization and deserialization can be switched on by using the feature flag "serde-ast".
* Changed the JSON dumping format.
- Now Json dumping format prints the data in minefied JSON form by default.
- Removed JsonMinified.
- Added JsonPretty as a way to dump the data in pretty printed JSON format.
* Updated the docs.
5 years ago
Nick Vernij
9b8c803bbe
Add methods with f64 std equivelant to Math object ( #260 )
...
* Add methods with f64 std equivelant to Math object
* Add testS for Math static methods
5 years ago