Commit Graph

37 Commits (67e1d26c15a34ad94dc00492125195adcc4984db)

Author SHA1 Message Date
ondra05 dbaa390113
Updated dependencies. 2023-05-18 20:33:58 +02:00
ondra05 f220e5d12d
shorten file 2023-01-04 15:30:03 +01:00
ondra05 1bb33066ed fmt + clippy 2022-09-14 21:46:24 +02:00
ondra05 96fdac10a4 Revert "Added emoji support for identifiers"
This reverts commit 21ab9dbe8f.
2022-07-02 12:47:16 +02:00
ondra05 21ab9dbe8f Added emoji support for identifiers 2022-07-02 00:47:09 +02:00
ondra05 4a2674a035 Implemented finally 2022-07-01 22:56:22 +02:00
ondra05 32f3bf471e Changed `hopback` to `and again` (credits: Evrey#6086) 2022-05-17 19:03:02 +02:00
ondra05 ad2839d497 Replaced `break` with `enough` (credits: Evrey#6086) 2022-05-06 23:52:43 +02:00
ondra05 3e8cffe1a5 fmt + clippy 2022-05-03 23:19:10 +02:00
ondra05 4ab63aea47 Added escapes test 2022-04-24 23:47:51 +02:00
ondra05 c7ea807a8e Added some comments 2022-04-24 23:33:11 +02:00
ondra05 b462fd9c8f Implemented string unicode escapes 2022-04-24 23:29:15 +02:00
ondra05 097a5571ae replaced if with unless 2022-04-18 21:42:26 +02:00
ondra05 df32550844 Chars are no longer special case of identifiers 2022-04-18 21:04:19 +02:00
ondra05 0ef7177a03 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
ondra05 e1f7533b2d No underscore! 2022-04-16 22:06:37 +02:00
ondra05 87555a6184 removed `!=` in favour of `ain't` 2022-04-08 17:44:35 +02:00
ondra05 4c20ef179e Removed ! for ain't 2022-04-08 17:39:14 +02:00
Alex Bethel 96f2db4dc6 `cargo fmt` 2022-04-02 12:42:40 -06:00
ondra05 f842733757 removed \ from idents 2022-04-02 20:39:48 +02:00
ondra05 8b5be3d90f Changed way of String lexing 2022-03-13 13:18:51 +01:00
ondra05 6ea380f3a0 Added support for idents starting with _ 2022-03-12 23:26:39 +01:00
ondra05 d47bd65387 fixed spelling of ain't 2022-03-02 11:36:08 +01:00
ondra05 c3a51e3221 \ is valid part of identifiers 2022-03-01 23:07:23 +01:00
ondra05 acb9bed2aa Satisfied most of THE ALLMIGHTY CLIPPY's requests. 2022-03-01 21:53:58 +01:00
ondra05 816cb9ac82 Bool, Abool and Nil values are no longer tokens 2022-03-01 18:57:03 +01:00
ondra05 8c369d5cfc fixed strings 2022-02-24 21:53:43 +01:00
ondra05 ae7d3c6680 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
ondra05 9a93202979 Removed unused tokens from Lexer
Uh, they were lying there with no use for 9 months!
2022-02-22 22:31:05 +01:00
ondra05 3dd91b0c97 Value::Int is isize 2022-02-13 00:55:19 +01:00
ondra05 8986d225a4 Generalised some lexer functions 2021-10-04 23:03:23 +02:00
ondra05 d77a7a45fc Renamed `Iden` to `Ident` 2021-10-04 23:00:18 +02:00
ondra05 567fe8c85e Implemented negation for most types 2021-08-30 23:19:25 +02:00
ondra05 bbabc8e195 Not is now lexing and parsing correctly 2021-08-30 22:55:31 +02:00
ondra05 6570292323 Removed And and Or ops because they aren't cursed enough 2021-08-30 22:18:09 +02:00
ondra05 6000de6100 Require space after `owo` for making comments. 2021-08-23 18:58:28 +02:00
ondra05 528b916a69
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