Commit Graph

407 Commits (trunk)

Author SHA1 Message Date
Able f5d3c21562
Update README.md 2021-05-11 13:39:41 -05:00
able 0493b83f0f consider using able brand products 2021-05-05 07:33:40 -05:00
able 7405c3f5c4 Brain fuck work 2021-05-04 22:23:17 -05:00
able 375f417a31 README changes 2021-05-04 21:29:51 -05:00
able 73a19aff91 Minor Changes 2021-05-03 19:33:21 -05:00
Able f307e8abc3
Merge pull request #15 from ondra05/master
Fixed some incompatible old code
2021-05-03 18:41:23 -05:00
ondra05 ffdd552fad Tidy up 2021-05-03 23:02:19 +02:00
ondra05 a56ffdb89d Obeyed our paperclip overlord + fmt 2021-05-03 21:36:32 +02:00
ondra05 7cac8b46ba Fixed some incompatible old code
- Added assignment support
- Reduced boilerplate
- Removed `else`
2021-05-03 21:35:43 +02:00
ondra05 d2fdd879b4 Variable assignment implemented 2021-05-03 09:54:27 +02:00
Able 382971efcf
Merge pull request #14 from ondra05/master 2021-05-03 02:17:38 -05:00
ondra05 bf9cdafa16 Fixed #13 2021-05-03 08:47:52 +02:00
Able 23030b6913
Merge pull request #12 from ondra05/master 2021-05-02 12:49:30 -05:00
ondra05 5a1249be23 Added tests and loop flow 2021-05-02 18:12:51 +02:00
ondra05 8df6068513 Added T-Dark block
- obeyed clippy
2021-05-02 17:38:12 +02:00
ondra05 0ec14dd338 Parser production ready
- TODO: T-Dark block
- cargo fmt
- Obeyed our clippy overlord
2021-05-02 16:48:33 +02:00
ondra05 603e834dd1 Parser implements examples
- Function call is now stmt (muhehe)
2021-05-02 15:43:25 +02:00
ondra05 03e6ac46f5 Added basic math operations
- cargo fmt
2021-05-02 00:39:08 +02:00
ondra05 de0539a509 Divided token types
- Item = Expr | Stmt
- Added REPL (AST dump)
- Removed operator parsing because it was horrible and I need to redo it
2021-05-01 13:44:58 +02:00
ondra05 74cb7639b1 Tidy up 2021-04-29 19:19:35 +02:00
ondra05 291c9cd556 Implemented function calls 2021-04-29 18:50:51 +02:00
ondra05 e38a8d15f1 Bugfix: Peeking
- Fixed `PeekableLexer` next to not-be passtrough to iterator
- Made error handling depend on state of Option
2021-04-29 09:47:29 +02:00
ondra05 0d2bb8b095 Added Peekable Lexer
- Added wrapper for Lexer with `peek()` method
- Renamed `token` module to `lexer` as it more describe it's function
- Started work on operator flow
2021-04-28 22:52:19 +02:00
Able cc9aaf97fa
Merge pull request #10 from ondra05/master
Reimplemented parser
2021-04-27 09:26:29 -05:00
ondra05 dd1d4aa411 Added parsing of conditionals 2021-04-27 13:48:56 +02:00
ondra05 a5a6d986e3 Made parser to throw error when unexpected EOF 2021-04-27 11:57:11 +02:00
ondra05 f417301214 Redone original parser
= implemented original features
2021-04-27 11:49:07 +02:00
ondra05 ba4c74089e Added testing for base55, new identifier lexing 2021-04-27 11:09:19 +02:00
ondra05 67b504af4c Continue work on parser, improved lexer
- Added literal parsing (improved lexing)
- Revised error handling
2021-04-27 10:51:39 +02:00
ondra05 95f98f55fc Starting work on parser improvements
- Parser should parse single expressions
2021-04-26 10:44:42 +02:00
Able b8e16717ce
Merge pull request #9 from ondra05/master 2021-04-20 10:28:52 -05:00
ondra05 e13db995a3 Implemented abool
- Tidied up code
2021-04-18 23:40:41 +02:00
ondra05 fbd16d2bcc Added function/variable parsing
- Added block support
- TODO: Tidy it up
2021-04-18 22:33:55 +02:00
ondra05 50758ee434 Initial parser work 2021-04-18 16:39:43 +02:00
able 0d9bd00678 variable things added 2021-04-13 18:01:19 -05:00
Able c1bec87acb
Merge pull request #8 from ondra05/master 2021-04-13 11:04:17 -05:00
ondra05 6d0f372a13 clippy + fmt 2021-04-13 17:43:54 +02:00
ondra05 b39095de68 Improved Scanner 2021-04-13 17:40:20 +02:00
able 693638f374 Adding a melo example 2021-04-12 22:19:44 -05:00
Able cda370f80b
Merge pull request #6 from ondra05/master
Added tokenization
2021-04-12 20:11:41 -05:00
ondra05 3911ccbc82 Added tokenization
- Added tokenization
- Modified `Token` definition for make it compatible with Logos
- And also obeyed our paperclip overlord and changed all names to be complaint with Rust conventions
2021-04-12 20:20:45 +02:00
able a39b480b62 Merge branch 'master' of https://github.com/AbleTheAbove/able-lang
merge
2021-04-11 22:40:32 -05:00
able aeaf6b3948 Added CLOC to the readme 2021-04-11 22:39:22 -05:00
able 607b51c6cb abbolean change 2021-04-11 21:47:10 -05:00
Able 4432740d52
Merge pull request #2 from ondra05/patch-1 2021-04-11 18:03:34 -05:00
ondra05 bf0d0fe3e6
Add ANSWER const 2021-04-12 01:02:08 +02:00
able 2c4154025f Tokens added or something 2021-04-11 17:22:06 -05:00
able 5cf69e933d Updating examples 2021-04-11 15:17:08 -05:00
able 6719d955e8 Worst best parser 2021-04-11 15:11:23 -05:00
able abd2d7e5f8 more fixes 2021-04-11 14:18:41 -05:00