Commit Graph

  • 38cef6fea3 Removed todo when unknown token ondra05 2021-06-11 18:34:34 +0200
  • 39aad6eb78 Fixed invalid spanning of UnexpectedToken in `parse_expr` ondra05 2021-06-11 18:31:25 +0200
  • 69fcc0b550 BF code is now Vec<u8> ondra05 2021-06-11 18:10:11 +0200
  • 4d3adbf89f Basic BfFunctio support ondra05 2021-06-11 17:52:47 +0200
  • 7228dafe29 Re-enable assignment semantics Alex Bethel 2021-06-11 10:05:48 -0500
  • b9c56b5d3a Added variable assignment to parser - Fixed parse error, that `rlyeh` returned HopBack #30 ondra05 2021-06-11 16:59:40 +0200
  • c06e0747b8
    Merge pull request #29 from HTG-YT/interpreter-fixes ondra05 2021-06-11 09:33:48 +0200
  • b44bef1101
    add `nevergonnagiveyouup` constant #29 HTG-YT 2021-06-11 15:26:30 +0800
  • 7de2e8b260
    add `interessant` and `funny` constants HTG-YT 2021-06-11 15:19:27 +0800
  • daa3eecf63 Fix interpreter variable persistence bug Alex Bethel 2021-06-08 19:21:33 -0500
  • 5998033612 Better error handling in REPL Alex Bethel 2021-06-07 20:08:38 -0500
  • d89ab5e49b Remove 0..0 placeholder from unexpected_eof() Alex Bethel 2021-06-07 20:03:26 -0500
  • 0414d6a99b Fix all 0..0 span placeholders in interpret.rs Alex Bethel 2021-06-07 19:57:44 -0500
  • a4c8f4f30e Fix unit tests Alex Bethel 2021-06-07 17:35:49 -0500
  • c8810b50cb Remove giant comment block left in by mistake Alex Bethel 2021-06-07 16:28:27 -0500
  • e1ce6e3a05 Repair interpreter after parser changes Alex Bethel 2021-06-07 16:18:07 -0500
  • 63cc11e965 Added T-Dark test ondra05 2021-06-07 23:06:13 +0200
  • 937f19858d Added tests, Bugfix - Originally, it spanned from operator (bug) ondra05 2021-06-07 22:58:28 +0200
  • 8beb81cd1a Added missing mut ondra05 2021-06-07 22:24:43 +0200
  • 3af792779f Unified span terminology - Add more derivations, because it's required by another parts of project ondra05 2021-06-07 22:21:21 +0200
  • f966b08bf2 Changed position terminology ondra05 2021-06-07 21:28:24 +0200
  • 918cfe0eff Removed unwraps, added Rlyeh ondra05 2021-06-07 11:07:50 +0200
  • 535a62357f Implement function calls - And printing - Revised terminology in Lexer - Control flow ondra05 2021-06-07 11:00:06 +0200
  • 17a5a5e814 Added logical operators ondra05 2021-06-07 09:17:30 +0200
  • d00d147baa Binary operator boilerplate reduction ondra05 2021-06-07 09:17:18 +0200
  • 2a77ffa516 Added basic parsing - Expressions - If, Functio ondra05 2021-06-07 00:09:45 +0200
  • 29a8a8f5f0 Initial chthulic error impl in Lexer - See discussions #17 ondra05 2021-06-06 23:15:11 +0200
  • 5ff156f7ea AST revamp - Unified terminology of span in error.rs ondra05 2021-06-06 23:13:48 +0200
  • 9b76e9bea6 Updated AST ondra05 2021-06-06 21:09:18 +0200
  • 82883638ef Removed custom Lexer, reorganised `Token` definition - As peeking will not be involved in parsing, it was removed ondra05 2021-06-06 20:28:13 +0200
  • 019fa818e3 Deleted old parser ondra05 2021-06-06 20:05:18 +0200
  • 3b8487a0aa Correct spelling of "occurred" Alex Bethel 2021-06-05 08:50:20 -0500
  • 6f646a76e6 Prettier error handling Alex Bethel 2021-06-04 18:56:26 -0500
  • db741b7fe0
    Merge pull request #28 from AlexBethel/bf-functio Able 2021-06-02 20:02:53 -0500
  • 988f6ad053 Clean up `eval_expr` some more #28 Alex Bethel 2021-06-02 18:41:20 -0500
  • b2290fc76e Use `impl Value` rather than `trait BfWriter` Alex Bethel 2021-06-02 18:20:30 -0500
  • 7eabaafb98 Add Brainfuck functio interpretation Alex Bethel 2021-06-02 15:29:31 -0500
  • 97fb19e50b Changed Binary operation behaviour - Modified AST #25 ondra05 2021-05-31 09:34:01 +0200
  • 663a429db2 Fix panic on arithmetic error Alex Bethel 2021-05-30 13:26:10 -0500
  • e8af0ec3c9 More thorough unit tests Alex Bethel 2021-05-30 13:24:16 -0500
  • 2ad3d6d76f Add some unit tests to `interpret.rs` Alex Bethel 2021-05-27 10:05:57 -0500
  • 78dcee732d
    Merge pull request #27 from AlexBethel/master Able 2021-05-29 17:14:25 -0500
  • 6971d0a56c Make base-55 encoding & decoding match #27 Alex Bethel 2021-05-29 14:24:46 -0500
  • 270ffb98a2 Use single-letter identifiers as base-55 digits Alex Bethel 2021-05-26 21:30:12 -0500
  • 9b2ef71014 Fixed functios' arguments separation ondra05 2021-05-28 23:02:40 +0200
  • 8ae4694730 unimplemented bug fixed ondra05 2021-05-28 22:53:13 +0200
  • b622c108b5 fmt ondra05 2021-05-28 21:19:48 +0200
  • 2283ca0c62 Span arguments ondra05 2021-05-28 21:17:50 +0200
  • 3a5adfcd2c Spanned identifiers ondra05 2021-05-28 21:15:20 +0200
  • 3b1ffd7489
    Merge pull request #26 from Seppel3210/patch-1 Able 2021-05-28 05:10:43 -0500
  • 3cb187981d
    Change "*" versions to explicit versions #26 Seppel3210 2021-05-28 09:30:16 +0200
  • 535093f0bc
    Update README.md Able 2021-05-27 17:51:08 -0500
  • 5ff0d1c5cc
    Merge pull request #24 from AlexBethel/master Able 2021-05-25 23:06:08 -0500
  • 3cc4a153ab Improve name & documentation accuracy #24 Alex Bethel 2021-05-25 21:55:02 -0500
  • ce63e1a734 Implement `break` and `hopback` statements Alexander Bethel 2021-05-25 21:22:38 -0500
  • b38d02a502 Fix of previous ondra05 2021-05-26 00:33:19 +0200
  • edeefaa45a All test passing - T-Dark block fixed ondra05 2021-05-26 00:32:53 +0200
  • da1d7ed4ea Bugfixes + fmt ondra05 2021-05-26 00:15:03 +0200
  • 11fc5888b8 Bugfixed previous commit ondra05 2021-05-25 23:55:03 +0200
  • 91d42bbfa4 No errors, but buggy ondra05 2021-05-25 23:44:07 +0200
  • 9246c1453c Better abstractions, implement scoping rules Alexander Bethel 2021-05-25 13:26:01 -0500
  • 7c1ef4be82 Implement more statements Alexander Bethel 2021-05-23 18:46:42 -0500
  • 562645c8ef Slightly more curse Able 2021-05-24 01:18:36 -0500
  • 3977e3d28b
    Merge pull request #22 from AlexBethel/master Able 2021-05-21 12:29:03 -0500
  • 746ece58c7 Allow abool -> bool coercion #22 Alexander Bethel 2021-05-21 12:25:37 -0500
  • 5698761568 Make `ablescript -f` run interpreter Alexander Bethel 2021-05-20 18:24:18 -0500
  • d4766c19ec Implement basic interpreter Alexander Bethel 2021-05-20 18:18:01 -0500
  • 5a5eaf12b9 javascript is better #21 ibraheemdev 2021-05-19 12:54:05 -0400
  • 49eadf3bd7 delet everything #20 ibraheemdev 2021-05-19 12:37:51 -0400
  • 00b4b57c68
    delet this #19 fred 2021-05-19 14:33:34 +0200
  • fb23d88a37 Commented out tests ondra05 2021-05-18 23:16:05 +0200
  • 0c715c7d3b ops.rs is rewritten I do not know if it works ondra05 2021-05-18 22:42:32 +0200
  • 218a08174f Function calls ondra05 2021-05-18 22:11:55 +0200
  • c95cd23c87 Parenthesis parsing ondra05 2021-05-18 21:57:03 +0200
  • 26aa61d873 Refactored crate::parser::ops::parse_expr - Fields of Expr/Stmt are now public ondra05 2021-05-18 21:03:05 +0200
  • 9d20a41c9c Improved error handling 2.0 ondra05 2021-05-17 22:02:10 +0200
  • 82c76abfbb Improved error handling ondra05 2021-05-17 21:51:09 +0200
  • 438ed9cbc4 Expr/Stmt are now *Kind enums and * have separate structs which have positioning ondra05 2021-05-17 20:53:54 +0200
  • 129fec79eb Got rid of custom Lexer wrapper - Now it is Peekable<Spanned<'_, Token>> ondra05 2021-05-17 20:45:29 +0200
  • 6d17df24f7
    Merge pull request #18 from T-Dark0/tdark-brainfuck Able 2021-05-15 20:34:29 -0500
  • 115bf5e639 Added support for specifying a tape size limit #18 tdark 2021-05-15 18:39:49 +0200
  • a500a7f8bc Implemented brainfuck interpreter tdark 2021-05-15 13:21:28 +0200
  • 2c0d5d12cb
    Update README.md Able 2021-05-14 10:52:16 -0500
  • f5d3c21562
    Update README.md Able 2021-05-11 13:39:41 -0500
  • 0493b83f0f consider using able brand products able 2021-05-05 07:33:40 -0500
  • 7405c3f5c4 Brain fuck work able 2021-05-04 22:23:17 -0500
  • 375f417a31 README changes able 2021-05-04 21:29:51 -0500
  • 73a19aff91 Minor Changes able 2021-05-03 19:33:21 -0500
  • f307e8abc3
    Merge pull request #15 from ondra05/master Able 2021-05-03 18:41:23 -0500
  • ffdd552fad Tidy up #15 ondra05 2021-05-03 23:02:19 +0200
  • a56ffdb89d Obeyed our paperclip overlord + fmt ondra05 2021-05-03 21:36:32 +0200
  • 7cac8b46ba Fixed some incompatible old code - Added assignment support - Reduced boilerplate - Removed `else` ondra05 2021-05-03 21:35:43 +0200
  • d2fdd879b4 Variable assignment implemented ondra05 2021-05-03 09:54:27 +0200
  • 382971efcf
    Merge pull request #14 from ondra05/master Able 2021-05-03 02:17:38 -0500
  • bf9cdafa16 Fixed #13 #14 ondra05 2021-05-03 08:47:52 +0200
  • 23030b6913
    Merge pull request #12 from ondra05/master Able 2021-05-02 12:49:30 -0500
  • 5a1249be23 Added tests and loop flow #12 ondra05 2021-05-02 18:12:51 +0200
  • 8df6068513 Added T-Dark block - obeyed clippy ondra05 2021-05-02 17:38:12 +0200
  • 0ec14dd338 Parser production ready - TODO: T-Dark block - cargo fmt - Obeyed our clippy overlord ondra05 2021-05-02 16:48:33 +0200
  • 603e834dd1 Parser implements examples - Function call is now stmt (muhehe) ondra05 2021-05-02 15:43:25 +0200