Commit graph

22 commits

Author SHA1 Message Date
Erin 6ad0ab5e29 Added non-newline print. 2022-05-03 23:13:17 +02:00
Erin 85226fbfbb Implemented key extraction 2022-04-25 14:56:35 +02:00
Erin ea13c79fc4 replaced if with unless 2022-04-18 21:42:26 +02:00
Erin 6dd32793bb Chars are no longer special case of identifiers 2022-04-18 21:04:19 +02:00
Erin 0eb2698242 Expr::Literal contains Literal type which contains only possible types instead of any Value 2022-04-18 20:56:11 +02:00
Erin eac86b5e0b 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 60505735c9 removed != in favour of ain't 2022-04-08 17:44:35 +02:00
Erin 89326fd344 Removed ! for ain't 2022-04-08 17:39:14 +02:00
Erin ec48508ba7 changed line order 2022-04-02 14:13:49 +02:00
Erin eae118a78e Small change 2022-04-02 01:42:13 +02: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 3f4cc58b87 Satisfied most of THE ALLMIGHTY CLIPPY's requests. 2022-03-01 21:53:58 +01:00
Erin 8e55872f10 Implemented Len in parser 2022-01-22 20:37:44 +01:00
Erin ae1416e329 Read in AST takes Assignable instead of Ident 2021-10-23 21:53:21 +02:00
Erin bcd446c5d1 Moved Assignable creation functions 2021-10-21 20:51:24 +02:00
Erin 610ba7fc40 Change Cart AssignableKind to Index. 2021-10-13 13:20:23 +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
Erin 92f2c62d59 Removed And and Or ops because they aren't cursed enough 2021-08-30 22:18:09 +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
Renamed from src/ast.rs (Browse further)