Erin
cb6fcceb79
Fixed tests and examples
2022-02-22 22:49:56 +01:00
Erin
ca4a9aba4c
added new_with_vars
2022-02-14 00:08:48 +01:00
Erin
e79c98f2f6
Fixed all errors
2022-02-13 00:58:50 +01:00
Erin
8c867c7899
Value::Int is isize
2022-02-13 00:55:19 +01:00
Erin
405f88e394
Implemented built-in functios
...
- Missing coercions and operations
2022-02-12 21:14:55 +01:00
Erin
2191e126f0
Implemented [] as length operator
2022-01-22 20:48:21 +01:00
Erin
8e55872f10
Implemented Len in parser
2022-01-22 20:37:44 +01:00
Erin
c1471bcdb7
Removed clone
2021-12-14 23:05:21 +01:00
Erin
6c836125b3
Renamed stuff
2021-12-14 23:02:55 +01:00
Alex Bethel
57939a87b0
Arity-based functio deinterlacing
2021-12-14 15:56:40 -06:00
Erin
db95d2f718
🚗 Implemented ordered functio chaining
2021-12-14 21:45:44 +01:00
Erin
3bfe600103
Implemented halfway of functio sub
2021-12-09 00:33:45 +01:00
Erin
3c98caf2d6
Made Clippy happy (so he will not kill us in sleep)
2021-12-08 22:56:12 +01:00
Alex Bethel
711b8e1c03
Slightly better ExecEnv::assign
...
A little more idiomatic, avoid some borrow checker clumsiness, add
comments.
2021-11-27 11:02:41 -06:00
Alex Bethel
9727a9b577
Assign read syntax
2021-11-05 17:09:53 -06:00
Alex Bethel
6849f7f296
Coerce indexing assignments into non-carts
2021-11-05 16:18:07 -06:00
Alex Bethel
5634a8ad2b
Get cart assignments working
2021-10-23 15:08:10 -06:00
Alex Bethel
5db6eebdc0
Almost get cart assignments working
2021-10-23 14:17:17 -06:00
Erin
ae1416e329
Read in AST takes Assignable instead of Ident
2021-10-23 21:53:21 +02:00
Erin
610ba7fc40
Change Cart AssignableKind to Index.
2021-10-13 13:20:23 +02:00
Alex Bethel
31fe3f53be
Sort of fix cart assignments
2021-10-12 14:33:23 -06:00
Erin
cdf4c5a308
improvement
2021-10-12 22:22:33 +02:00
Erin
4c6dd311a7
Added Assignable support in parser / AST
2021-10-12 22:14:20 +02:00
Erin
71c5738a6e
Renamed Iden
to Ident
2021-10-04 23:00:18 +02:00
Alex Bethel
e8349bf0d9
Improve consistency of code & comments
...
Changed all `&str.to_string()` into `&str.to_owned()`, and made the
grammar of the `Value::into_*` comments uniform.
2021-09-04 10:54:53 -06:00
Erin
113554428f
Clippy
2021-09-01 17:46:17 +02:00
Erin
82239be160
Not is now lexing and parsing correctly
2021-08-30 22:55:31 +02:00
Erin
92f2c62d59
Removed And and Or ops because they aren't cursed enough
2021-08-30 22:18:09 +02:00
Erin
7a275556c7
Revert "Eval errors are now correctly spanned"
...
This reverts commit 2f5b954b7c
.
2021-08-29 00:26:40 +02:00
Erin
2f5b954b7c
Eval errors are now correctly spanned
2021-08-29 00:23:59 +02:00
Erin
1c8722ba99
Added placeholders for And + Or
...
and used placeholders for -, * and / in interpret
2021-08-28 23:59:04 +02:00
Erin
8b57cbe5a5
Most coercions implemented
2021-08-28 23:27:35 +02:00
Erin
aa854a067b
Restructured project ( #37 )
...
* Separation to two crates
- `ablescript`: library, language
- `ablescript_cli` - cli: repl and executor for files
* Added lints (back) to library
- unsafe_code and unwrap_used are forbidden
2021-08-10 21:32:12 +02:00