Commit graph

374 commits

Author SHA1 Message Date
Erin ec48508ba7 changed line order 2022-04-02 14:13:49 +02:00
Erin 0b4db65ca3 This isn't AbleScript, we can just negate expressions :D 2022-04-02 13:44:29 +02:00
Erin eae118a78e Small change 2022-04-02 01:42:13 +02:00
Erin 3b829d7e55 Merge branch 'refactoring/ast-spans' 2022-04-02 01:37:33 +02:00
Erin b46c178692 Removed Booleans
We have Abooleans (where Always = true, Never = false), so why to duplicate stuff?

This PR was lying around unmerged for quite some time, merged without review.
2022-04-01 23:37:10 +00:00
Erin 38fe23d2b5 Removed ident type, fixed tests 2022-04-02 01:34:25 +02:00
Erin db7fc4d592 Generalised Spanned items 2022-04-02 01:22:46 +02:00
Erin d890d7cfff Simplified base 55 2022-04-02 01:06:47 +02:00
Erin a3d2922f7e fixed tests 2022-03-30 21:03:17 +02:00
Erin c1c8f17c8d Improved type coercions 2022-03-30 20:56:59 +02:00
Erin 6f663839a7 Removed booleans 2022-03-30 20:55:05 +02:00
Erin 86e1391ea2 Used checked next in require 2022-03-20 02:20:55 +01:00
Erin 5a5403a8df Changed way of String lexing 2022-03-13 13:18:51 +01:00
Erin c567341775 Added support for idents starting with _ 2022-03-12 23:26:39 +01:00
Erin 070f3b2f0e fixed spelling of ain't 2022-03-02 11:36:08 +01:00
Erin 9d6f5740b1 \ is valid part of identifiers 2022-03-01 23:07:23 +01:00
Erin 4f56411375 Renamed dir 2022-03-01 22:17:01 +01:00
Erin 5f842dc8d9 There, we are now, we do not need those. 2022-03-01 22:15:27 +01:00
Erin 0ec54ecc51 Introduced newtype for Rc<RefCell<Value>> 2022-03-01 22:13:49 +01:00
Erin 3f4cc58b87 Satisfied most of THE ALLMIGHTY CLIPPY's requests. 2022-03-01 21:53:58 +01:00
Erin b975bc52d0 Bool, Abool and Nil values are no longer tokens 2022-03-01 18:57:03 +01:00
Erin 567665a314 fixed strings 2022-02-24 21:53:43 +01:00
Erin a23dac3ce0 Rust 2021
- Consts map generated using iterators
2022-02-23 21:47:07 +01:00
able 81f713a5e2 Merge pull request 'You know what could be cursed? Using Rust's block comment syntax as String delimiters!' (#5) from change/string-delimiters into master
Reviewed-on: https://git.ablecorp.us:443/AbleScript/able-script/pulls/5
2022-02-23 14:11:14 +00:00
Erin cb6fcceb79 Fixed tests and examples 2022-02-22 22:49:56 +01:00
Erin f55f9e0512 Changed string delimiters
You know what could be cursed? Using Rust's block comment syntax as String delimiters!
2022-02-22 22:39:03 +01:00
Erin d1f18be279 Removed unused tokens from Lexer
Uh, they were lying there with no use for 9 months!
2022-02-22 22:31:05 +01:00
Erin 0615091b3c added simple history support 2022-02-14 00:17:55 +01:00
Erin 43ae772894 Exposed variables to public API 2022-02-14 00:12:03 +01:00
Erin edce9dcc91 Add from_value variable constructor 2022-02-14 00:11:37 +01:00
Erin ca4a9aba4c added new_with_vars 2022-02-14 00:08:48 +01:00
Erin 0134448472 Merge pull request 'change/isize-as-int' (#4) from change/isize-as-int into master
Reviewed-on: https://git.ablecorp.us:443/AbleScript/able-script/pulls/4
2022-02-13 22:17:13 +00:00
Erin 43c51f2c96 Merge branch 'master' into change/isize-as-int 2022-02-13 22:17:00 +00:00
Erin 0d00aba6ce Merge pull request 'Implemented built-in functios' (#3) from feature/builtins into master
Reviewed-on: https://git.ablecorp.us:443/AbleScript/able-script/pulls/3
2022-02-13 22:16:43 +00:00
Erin e79c98f2f6 Fixed all errors 2022-02-13 00:58:50 +01:00
Erin 5d29c8cf87 fixed base 55 2022-02-13 00:55:51 +01:00
Erin 8c867c7899 Value::Int is isize 2022-02-13 00:55:19 +01:00
Erin 5b320259f6 Changed Built-in functio -> integer coercion 2022-02-13 00:37:17 +01:00
Erin a9a9cc71e1 Implemented builtin functio division 2022-02-13 00:30:40 +01:00
Erin 3338ec94c2 implemented subtraction for built-in functios 2022-02-13 00:25:56 +01:00
Erin d634692f12 Implemented not for built-in functios 2022-02-13 00:07:23 +01:00
Erin a1f6d1ae5f Implemented Display for built-ins 2022-02-12 22:52:14 +01:00
Erin 06ec25e717 Implemented coercions for built-in functios 2022-02-12 22:10:30 +01:00
Erin 405f88e394 Implemented built-in functios
- Missing coercions and operations
2022-02-12 21:14:55 +01:00
Erin 09617b2a89 Length by empty square braces
Reviewed-on: https://git.ablecorp.us:443/AbleScript/able-script/pulls/2
2022-01-28 20:03:31 +00:00
Erin 68e5e7cf41 Functio -> Int more cursed 2022-01-22 21:02:10 +01:00
Erin 7cf9433462 Cart -> Int more cursed 2022-01-22 20:52:09 +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
Alex Bethel 1b84093eab Merge branch 'master' of ssh://git.ablecorp.us:20/AbleScript/able-script 2021-12-29 17:08:05 -06:00