- Modify
this
in magic methods - Improve docs
- Add
assert
- Fix variable naming in help info
- Add
Time
- Add
Promise.timeout
- Add
wrapPromise
helper - Fix some internal issues
- Add
Promise.finally
- Fix return value handling of reject callback
- Add
Promise.all/any/race
- Add
Array.reverse
- Add
Array.findIndex/find
- Add
Array.every/some
- Strict indicator type in
Array.filter
- Fix some internal issues
- Add basic promise APIs
- Add
String.startsWith/endsWith
- Add
Utils.filterValue
- Make
referrer
&context
optional inUtils.raise
&createClass
- Fix some type issues
- Fix babel config
- Restrict conditions of property magic methods
- Fix stack tracing
- Improve REPL displaying
- Improve introduction
- Fix line end escaping
- Add
scriptContext.stack
- Fix CLI error display
- Bump
3h-ast
to0.13.0
- Add property assignment syntax
- Add magic methods:
__set
,__get
,__remove
,__has
&__keys
- Add
Dict.get
- Remove
Array.set
,Dict.diff
&set
- Refactor property related APIs
- Add simpler function declaration syntax
- Refactor internal function APIs
- Add magic methods for operators
- Refactor
getConstructorOf
&isInstanceOf
- Refactor Class APIs
- Refactor internal APIs
- Add
String.__invoke
- Add
Array.__invoke
- Add
Dict.__invoke
- Remove
String.join
&join
- Remove
Dict.create
&Dict.from
- Add invocable type
- Add shortcut syntax to dict creation
- Add
same
- Add
Dict.diff
- Add
Utils.extendContext
&Utils.diffDict
- Fix help info
- Remove default
import
(a placeholder) - Add
JSON
- Add
String.repeat
&String.codePointAt
- Make
forward
effect immediately - Fix evaluation of arg defaults
- Improve expression evaluation APIs
- Add module support
- Fix display of error messages
- Add
>>>
&>>>=
- Add
getContextStore
- Change context stores to dicts
- Rename some internal identifiers
- Add
??
&??=
- Add optional args without defaults
- Improve internal APIs
- Add
indexOf
,lastIndexOf
&includes
- Add shortcut syntax
- Add
Number.isNaN
&isNaN
- Add
Number.parseInt
- Pack
3h-ast
into final bundle
- Improve
Function.invoke
- Fix internal flag catching
- Optimize evaluation
- Add
class
- Add
this
to expressions - Improve value display
- Fix evaluation result
- Add
clone
- Add rest arguments
- Add expansion syntax
- Add more assignment operators
- Add type checking to not operator
- Add
createAdditionalAssignmentOperator
- Fix error referrer
- Add default-argument syntax
- Add
raise
&try
- Add
Dict.assign
&assign
- Use
->
for dict entries - Add
Function.bind
- Add utility function
slice
- Add shortcut
invoke
&bind
- Add expressions
- Add
Dict.remove
- Add
Array.forEach/map/filter
- Add utility functions
- Add
Number
- Add help info to builtin dicts
- Fix combination order
- Add placeholder(
_
)
- Improve performance
- Refactor source code
- Add bit shifting operators
- Improve error info
- Add
Math
- Add
injectHelp
- Fix null checking in
help
- Rewrite