Jason Williams
3465e6bbca
short function syntax fixes #152 ( #199 )
...
* short function syntax
* updating parser plus adding test
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
27178e1645
fixes #10 ( #112 )
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
73d158cce2
testing small change ( #104 )
5 years ago
Jason Williams
910d20f6a5
support early returns, fixes #101
5 years ago
Jason Williams
e35b66b412
moving to function objects, work started on boashell other bug fixes
5 years ago
Jason Williams
c5b75c55ad
passing primitives to methods ( #86 )
...
* passing primitives to methods
* finishing unboxing_primitives, tests added, using internal_slots for __proto__
5 years ago
Jason Williams
903cbcdccc
Adding operations ( #85 )
...
* adding operations to exec
* using StringData instead of PrimitiveData (to match with spec)
* function signature changed to allow mutable ctx (this is needed for some functions)
* tidy (clippy)
* value to rust string (clippy)
* removing static lifetime - Not needed from Rust 1.36
5 years ago
Jason Williams
fe42b0c616
adding context into every native function, changing this to be passed… ( #73 )
6 years ago
Jason Williams
0e92d37756
Refactor objects ( #69 )
...
Refactoring Objects into Structs. Changing the way objects are accessed.
New `internal_slots` and `sym_properties` fields
6 years ago
Iban Eguia
71340e6bec
Fixed a bunch of Clippy issues ( #59 )
...
* Fixed a bunch of Clippy issues
* Fixed bug with numbers
* Added clippy checks in the CI
6 years ago
Iban Eguia
14672dd340
Parser tests ( #42 )
...
* First parser tests
* Added more parser tests
* Fixed formatting issue
* Added bitwise operators, removed debugging statement
6 years ago
Jason Williams
7177a3fc5d
changing preview_next() to return Option and next_is to bool ( #26 )
6 years ago
Jason Williams
5faef8bc22
better unicode escape support fixes #16 ( #20 )
...
* better unicode escape support fixes #16
* adding benchmarking, updating deps and added test for numbers
6 years ago
Jason Williams
741b55806e
arrow function is working
6 years ago
Jason Williams
600b4b4f9d
let and const now partially supported ( #18 )
6 years ago
Jason Williams
5ea6187315
web assembly demo updates
6 years ago
Jason Williams
f7be6f8118
adding Wasm-bindgen
6 years ago
Jason Williams
5664ea6d1b
Environment Records have been implemented (bar module), exec::scope has now been changed to Environment
6 years ago
Jason Williams
78d3cb910d
added support for char_code_at()
6 years ago
Jason Williams
64ab7b0133
added support for String.prototype.charAt()
6 years ago
Jason Williams
226ba4dcf3
no need for mutable in private_obj
6 years ago
Jason Williams
7c2aa5601d
creating String() constructor function
6 years ago
Jason Williams
5e4999c5fa
preparing for Rust 2018 and constructor work
6 years ago
Jason Williams
91f84e1000
changing to i32 to match spidermonkey
6 years ago
Jason Williams
6a1b081efd
fixed length
6 years ago
Jason Williams
f92be3bd21
string length now supported
6 years ago
Jason Williams
ef91d02a72
updating cargo lock
6 years ago
Jason Williams
8f74c5428c
updates
6 years ago
Jason Williams
cd2208c150
fixed tests and updated readme
6 years ago
Jason Williams
b73706aab1
change js file
6 years ago
Jason Williams
e99eac8af8
readme updates
6 years ago
Jason Williams
6b9fac0882
OMG it works
6 years ago
Matt Young
ead794ceb6
Removed Position attributes from the Expr structs
6 years ago
Matt Young
a1b4d190ab
Remove calls to the mk macro on final returns in parser.rs
6 years ago
Jason Williams
6590416a40
bumping version
6 years ago
Jason Williams
cdf992a9ac
parser finished but runtime panics
6 years ago
Jason Williams
59d51a042f
parsing added
6 years ago
Jason Williams
9a50cc11c4
first test added
6 years ago