Commit graph

63 commits

Author SHA1 Message Date
Erin 31296ec0b8 Used body length for AbleFunctio to i32 instead of AST length 2021-08-29 00:28:45 +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 e30eef32b5 Eval's integer representation is now its length
- consistency with other types
2021-08-29 00:07:26 +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 c66616ee2c Fixed add overflows 2021-08-28 23:55:36 +02:00
Erin e8f08a90d5 Display carts sorted 2021-08-28 23:52:58 +02:00
Erin 4c74e3bef3 Implement custom PartialEq for Value 2021-08-28 23:43:59 +02:00
Erin 8b57cbe5a5 Most coercions implemented 2021-08-28 23:27:35 +02:00
Erin 2c36b2a5f7 Require space after owo for making comments. 2021-08-23 18:58:28 +02:00
Alex Bethel 4c3d44dfd8 Fix panics on invalid indexes 2021-08-16 15:06:40 -06:00
Erin c70e77f717 Relicensed to MIT 2021-08-11 20:32:12 +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