Erin
a292b1abc1
Changed hopback
to and again
(credits: Evrey#6086)
2022-05-17 19:03:02 +02:00
Erin
6473ce8f1e
chore: cargo update
2022-05-17 18:04:09 +02:00
Alex Bethel
6002ca0571
Merge branch 'v0.4.0-fixes'
2022-05-09 17:58:36 -06:00
Alex Bethel
a7e1468957
Fix AbleScript lib doc comment
2022-05-09 17:56:28 -06:00
Erin
b36650ba95
Replaced break
with enough
(credits: Evrey#6086)
2022-05-06 23:52:43 +02:00
Erin
0e4e105408
Bumped version to 0.4.0
2022-05-06 21:22:57 +02:00
Erin
f7852109c9
changed undefined -> cart coercion
2022-05-06 21:12:55 +02:00
Erin
bb6888c22d
Implemented all coercions for undefined
2022-05-06 21:08:16 +02:00
Erin
9f91a72b01
Evaluating nonextant variable results into Undefined
2022-05-06 20:20:52 +02:00
Erin
e85f766a1d
Added Undefined type
2022-05-06 20:19:35 +02:00
Erin
5d48bd8df4
{} -> ()
2022-05-06 17:30:41 +02:00
Erin
241d3c4d2b
Removed arity checking and arity error
2022-05-06 17:28:25 +02:00
Erin
8c101aee23
Renamed few errors
2022-05-06 17:25:50 +02:00
Erin
8c9e49a7c4
Changed error variant name to go by conventions
2022-05-05 00:39:13 +02:00
Erin
b677960013
get_bit returns error kind which makes the error spanned
2022-05-05 00:36:13 +02:00
Erin
22e8f63bac
Fixed zero division and zero assertion errors when [] / 0
2022-05-04 23:15:12 +02:00
Erin
43b00e607a
fmt + clippy
2022-05-03 23:19:10 +02:00
Erin
8f98c24f68
Added non-newline print.
2022-05-03 23:13:17 +02:00
Erin
ba4ba1f4fd
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
Erin
0ddf65c934
T-Dark letter cases implemented
2022-05-02 23:40:42 +02:00
Erin
d669e72a29
extracted t-dark substitution to separate function
2022-05-02 23:12:32 +02:00
Erin
a30aed991c
Modified Str -> Int coercion
2022-04-26 00:18:11 +02:00
Erin
bd0983c4dd
Implemented key extraction
2022-04-25 14:56:35 +02:00
able
f99aad0152
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
Erin
aafc03bba6
Added escapes test
2022-04-24 23:47:51 +02:00
Erin
58d8f22e30
Added some comments
2022-04-24 23:33:11 +02:00
Erin
c0852fe83e
Implemented string unicode escapes
2022-04-24 23:29:15 +02:00
Erin
ed83065ee4
sus
2022-04-24 22:01:31 +02:00
Erin
b3b8d7ffa5
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
Erin
e19c701f3c
Double Melo causes variable deletion
2022-04-22 21:14:53 +02:00
Erin
b52d07f13b
Rc is got by reference by default
2022-04-22 21:09:03 +02:00
Erin
a103a6e7f6
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
Erin
57bbc44b82
clearer comment
2022-04-18 22:09:56 +02:00
Erin
407c8674a7
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
Erin
c1698d9b25
Renamed init function in parser
2022-04-18 22:01:35 +02:00
Erin
fd0e7012ac
Added crate-level docs for ablescript
2022-04-18 21:59:57 +02:00
Erin
165e7c6b5f
chore: fmt
2022-04-18 21:43:32 +02:00
Erin
f335302b2a
fixed comments and naming
2022-04-18 21:43:19 +02:00
Erin
152c5c0f88
replaced if with unless
2022-04-18 21:42:26 +02:00
Erin
b346995bfd
Chars are no longer special case of identifiers
2022-04-18 21:04:19 +02:00
Erin
f7cba4b2b6
Expr::Literal contains Literal type which contains only possible types instead of any Value
2022-04-18 20:56:11 +02:00
Erin
e3d49c9c1f
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
Erin
ea931d1f4b
Release binaries are now stripped
2022-04-16 22:11:13 +02:00
Erin
5a18642cd6
No underscore!
2022-04-16 22:06:37 +02:00
Erin
f1da9b2117
fmt
2022-04-12 22:15:53 +02:00
Erin
6720ecc534
version bump
2022-04-12 14:17:20 +02:00
Erin
afac0cdac7
dependency update + fmt
2022-04-12 14:16:34 +02:00
Erin
7a35885282
removed !=
in favour of ain't
2022-04-08 17:44:35 +02:00
Erin
ec1b8200e0
Removed ! for ain't
2022-04-08 17:39:14 +02:00
Alex Bethel
7dfdb35685
cargo fmt
2022-04-02 12:42:40 -06:00