Commit Graph

195 Commits

Author SHA1 Message Date
nocturn9x d192d5e6b7 Removed capitalization from error messages. Added support for del and assert statements 2021-08-24 11:33:52 +02:00
nocturn9x 3f1c6077bc Added apache license and updated headers 2021-08-23 20:43:18 +02:00
nocturn9x c5f1f438b7 Added support for full scientific notation on floats + octal, binary and hex integer literals 2021-08-23 20:23:35 +02:00
nocturn9x 08058453f7 Improved grammar for float literals to allow a wider range of notations. Also added binary, octal and hexadecimal integer literals 2021-08-23 20:20:22 +02:00
nocturn9x 3948dbcc7a Fixed indentation issue in README 2021-08-21 15:24:22 +02:00
nocturn9x 858d03ccd4 Added placeholder for the garbage collector 2021-08-21 15:23:03 +02:00
nocturn9x a7330e880d Added src/memory and related README section 2021-08-21 15:21:16 +02:00
nocturn9x d20434b798 Re-extended project structure 2021-08-21 15:14:56 +02:00
nocturn9x 4c8178e05c Added note on syntax and inspiration. Improved title 2021-08-21 15:12:27 +02:00
nocturn9x cd84f8a187 Updated grammar with nee assert keyword 2021-08-21 15:05:14 +02:00
nocturn9x aeaaff2555 Simplified README 2021-08-21 15:05:02 +02:00
nocturn9x 9bb1bc8462 Added more expressions to the parser 2021-08-21 15:04:46 +02:00
nocturn9x e1a6aea05c Added assert keyword and removed unused method 2021-08-21 15:03:27 +02:00
nocturn9x 1b4e8d6fab Added basic expressions to recursive descent parser 2021-08-20 18:47:30 +02:00
nocturn9x 5bf36e5f2d Removed and, or, not keywords 2021-08-20 18:41:37 +02:00
nocturn9x 0f9c388c60 Added and, or, not keywords 2021-08-20 18:40:16 +02:00
nocturn9x bc2bec05de Fixed self.check() 2021-08-20 18:27:49 +02:00
nocturn9x 32f375c40c Minor changes to the lexer 2021-08-20 18:14:22 +02:00
nocturn9x efde97ead2 Updated specification with new syntax 2021-08-20 18:13:49 +02:00
nocturn9x 66b6f4521a Fixed lexer bugs, removed struct keyword, added more keywords (class, import, from, async, raise) and triple-character tokens support 2021-08-19 15:57:49 +02:00
nocturn9x 85f216695a Updated and clarified grammar 2021-08-19 15:32:42 +02:00
nocturn9x 099109daa6 Added support for FloorDiv (//) and removed redundant variable from Lexer.next() 2021-07-31 10:20:16 +02:00
nocturn9x eb538f9d4b Removed 'comment' token and added FloorDiv token 2021-07-31 10:19:39 +02:00
nocturn9x 925ad52293 Added escape sequence support for string literals, string prefixes, multi-line strings. Ditched multi-line comments and changed inline comment character to '#'. Updated grammar accordingly 2021-07-27 14:11:51 +02:00
nocturn9x eb8567d6f4 Minor fixes 2021-07-18 21:27:42 +02:00
nocturn9x cbca2a9a47 Minor visual change 2021-07-18 16:26:25 +02:00
nocturn9x e1dba8ce98 Minor visual change 2021-07-18 16:26:08 +02:00
nocturn9x 4acf3f2111 Added warnings section to optimizer step 2021-07-18 16:25:03 +02:00
nocturn9x 866ed8e2a0 typo (inside -> outside) 2021-07-18 16:24:01 +02:00
nocturn9x ef3fa78d86 Updated README 2021-07-18 16:22:43 +02:00
nocturn9x 1262a77fb0 Improved lexer module + began to work on the parser 2021-07-18 16:21:34 +02:00
nocturn9x bb176b4e23 Added compilation pipeline 2021-07-18 16:21:07 +02:00
nocturn9x 9c880c7c5a Updated grammar.md 2021-07-13 16:16:15 +02:00
nocturn9x 7eff6834c7 Added headers to bytecode.md 2021-07-13 16:15:49 +02:00
nocturn9x 7abf56a884 Typo 2021-07-13 16:12:08 +02:00
nocturn9x 22b71f9dbe Shortened line 2021-07-13 16:11:08 +02:00
nocturn9x 26e1727e72 Updated src directory with new project structure 2021-07-13 16:10:08 +02:00
nocturn9x ea487fb301 Updated README with project info 2021-07-13 16:09:53 +02:00
nocturn9x 22181c7f78 Added docs 2021-07-13 16:09:40 +02:00
nocturn9x 3b899ce440 Updated README 2021-07-12 18:29:11 +02:00
nocturn9x 63d524ccf6 Fixed typo in ast.nim's docstring 2021-07-12 18:28:01 +02:00
nocturn9x ecc9098a6b Started to work on the AST 2021-07-12 18:26:01 +02:00
nocturn9x 1cf25886ce Added README 2021-07-12 17:18:08 +02:00
nocturn9x 27ca6a06a9 Added lexer 2021-07-12 16:37:51 +02:00
nocturn9x 6bcf5263b9 Updated gitignore 2021-07-12 16:33:22 +02:00