ondra05
cda63c733c
Bumped version to 0.4.0
2022-05-06 21:22:57 +02:00
ondra05
217fd20a0f
changed undefined -> cart coercion
2022-05-06 21:12:55 +02:00
ondra05
7368a3afd1
Implemented all coercions for undefined
2022-05-06 21:08:16 +02:00
ondra05
97d6edcc57
Evaluating nonextant variable results into Undefined
2022-05-06 20:20:52 +02:00
ondra05
ba8560aa7c
Added Undefined type
2022-05-06 20:19:35 +02:00
ondra05
3cc80b7a94
{} -> ()
2022-05-06 17:30:41 +02:00
ondra05
a43b14741d
Removed arity checking and arity error
2022-05-06 17:28:25 +02:00
ondra05
39e46f090d
Renamed few errors
2022-05-06 17:25:50 +02:00
ondra05
f62c44ff01
Changed error variant name to go by conventions
2022-05-05 00:39:13 +02:00
ondra05
a4c8d845f5
get_bit returns error kind which makes the error spanned
2022-05-05 00:36:13 +02:00
ondra05
85eefeb953
Fixed zero division and zero assertion errors when [] / 0
2022-05-04 23:15:12 +02:00
ondra05
3e8cffe1a5
fmt + clippy
2022-05-03 23:19:10 +02:00
ondra05
cc7d6d6ba1
Added non-newline print.
2022-05-03 23:13:17 +02:00
ondra05
b1edffab98
Merge pull request 'T-Dark letter cases implemented' ( #10 ) from feature/tdark-cases into master
...
Reviewed-on: https://git.ablecorp.us:443/AbleScript/able-script/pulls/10
2022-05-03 21:03:42 +00:00
ondra05
e10a6c8c9d
T-Dark letter cases implemented
2022-05-02 23:40:42 +02:00
ondra05
77dc87901e
extracted t-dark substitution to separate function
2022-05-02 23:12:32 +02:00
ondra05
b6f37b6ced
Modified Str -> Int coercion
2022-04-26 00:18:11 +02:00
ondra05
4b7aa07d06
Implemented key extraction
2022-04-25 14:56:35 +02:00
able
ebd61780f6
Merge pull request 'Added String character escaping by dozenal " delimited unicode values' ( #9 ) from feature/string-unicode-escapes into master
...
Reviewed-on: https://git.ablecorp.us:443/AbleScript/able-script/pulls/9
2022-04-25 12:48:07 +00:00
ondra05
4ab63aea47
Added escapes test
2022-04-24 23:47:51 +02:00
ondra05
c7ea807a8e
Added some comments
2022-04-24 23:33:11 +02:00
ondra05
b462fd9c8f
Implemented string unicode escapes
2022-04-24 23:29:15 +02:00
ondra05
83e395ff7b
sus
2022-04-24 22:01:31 +02:00
ondra05
45bb1ade84
Merge pull request 'Changed the way how Melo-ing variables works' ( #8 ) from improvements/melo into master
...
Reviewed-on: https://git.ablecorp.us:443/AbleScript/able-script/pulls/8
2022-04-23 11:54:22 +00:00
ondra05
827a13f358
Double Melo causes variable deletion
2022-04-22 21:14:53 +02:00
ondra05
b035138998
Rc is got by reference by default
2022-04-22 21:09:03 +02:00
ondra05
b0e8acd438
Reimplemented Melo
...
- Variable made into enum of `ValueRef or Melo`
- Melo-ing variable causes dropping of the Rc, decreasing reference count
2022-04-22 21:06:34 +02:00
ondra05
53e2b0677a
clearer comment
2022-04-18 22:09:56 +02:00
ondra05
5c11cd39bb
Made Parser private and made `parse` function
...
Parser had only consturctor and parse functions public.
Likely, there would be just a creation of parser followed by .parse(),
and now this action is performed in `parse` function.
2022-04-18 22:09:41 +02:00
ondra05
dbe4835732
Renamed init function in parser
2022-04-18 22:01:35 +02:00
ondra05
6d195747e2
Added crate-level docs for ablescript
2022-04-18 21:59:57 +02:00
ondra05
4c218e3ab8
chore: fmt
2022-04-18 21:43:32 +02:00
ondra05
141164b46a
fixed comments and naming
2022-04-18 21:43:19 +02:00
ondra05
097a5571ae
replaced if with unless
2022-04-18 21:42:26 +02:00
ondra05
df32550844
Chars are no longer special case of identifiers
2022-04-18 21:04:19 +02:00
ondra05
e24bc5af35
Expr::Literal contains Literal type which contains only possible types instead of any Value
2022-04-18 20:56:11 +02:00
ondra05
0ef7177a03
Changed variable declaration / assignment and equals syntax:
...
- `dim <ident> [value];` is now used for declaration
- `<value> =: <assignable>` is used for assignments
- As token `=` doesn't cause any ambiguity now, it can be used for equals operation
2022-04-18 20:34:08 +02:00
ondra05
a4e3b98c6a
Release binaries are now stripped
2022-04-16 22:11:13 +02:00
ondra05
e1f7533b2d
No underscore!
2022-04-16 22:06:37 +02:00
ondra05
8234a9d9fe
fmt
2022-04-12 22:15:53 +02:00
ondra05
95ecbdf4ce
version bump
2022-04-12 14:17:20 +02:00
ondra05
2cdce8f77e
dependency update + fmt
2022-04-12 14:16:34 +02:00
ondra05
87555a6184
removed `!=` in favour of `ain't`
2022-04-08 17:44:35 +02:00
ondra05
4c20ef179e
Removed ! for ain't
2022-04-08 17:39:14 +02:00
Alex Bethel
96f2db4dc6
`cargo fmt`
2022-04-02 12:42:40 -06:00
ondra05
f842733757
removed \ from idents
2022-04-02 20:39:48 +02:00
ondra05
ddb15ba540
changed line order
2022-04-02 14:13:49 +02:00
ondra05
3bb1039e1d
This isn't AbleScript, we can just negate expressions :D
2022-04-02 13:44:29 +02:00
ondra05
34cef2c613
Small change
2022-04-02 01:42:13 +02:00
ondra05
48618cced8
Merge branch 'refactoring/ast-spans'
2022-04-02 01:37:33 +02:00