Commit Graph
106 Commits
Author SHA1 Message Date
selimaj-dev 4cbf46da53 Impl's and pointers 2024-05-25 11:14:58 +02:00
selimaj-dev b3db964a8e better namespaces 2024-05-24 23:37:54 +02:00
selimaj-dev 0dd3410141 auto pub on namespaces 2024-05-24 23:30:01 +02:00
selimaj-dev 1da6b3db09 namespaces 2024-05-24 23:22:27 +02:00
selimaj-dev 8c32610737 for, while, if, else 2024-05-24 22:51:25 +02:00
selimaj-dev 93ba413251 small fix 2024-05-24 18:20:44 +02:00
selimaj-dev 33fc1d85dc local incl 2024-05-24 16:50:14 +02:00
selimaj-dev 5ca3722150 global incl 2024-05-24 16:47:02 +02:00
selimaj-dev ae281d70d1 added float and as 2024-05-18 17:43:39 +02:00
selimaj-dev a5e23db625 struct var defs 2024-05-16 18:07:48 +02:00
selimaj-dev 9dc8712364 structs 2024-05-15 19:57:55 +02:00
selimaj-dev e7142f6d80 oops 2024-05-12 17:16:12 +02:00
selimaj-dev 02245401b9 added json. By using HashMap 2024-05-12 17:15:38 +02:00
selimaj-dev 9d7e560feb angle brackets 2024-05-12 16:18:45 +02:00
selimaj-dev ff84b62d3b int change and smart spacing 2024-05-11 14:58:38 +02:00
selimaj-dev 86bf9778ee square and comments 2024-05-10 21:01:20 +02:00
selimaj-dev 7aae829763 pointers 2024-05-10 15:06:17 +02:00
selimaj-dev a7f085fb07 round brackets 2024-05-09 20:27:23 +02:00
selimaj-dev 08fedf845c added int 2024-05-09 16:36:07 +02:00
selimaj-dev a8bab79c7f oops forgot square brackets 2024-05-07 17:59:33 +02:00
selimaj-dev 1e4acdec40 fixed the line system 2024-05-07 17:51:31 +02:00
RudideC c64cc5e0fb Overhauled flag system and added compilation
Usage: wyst <file.wst> --flags

Flags:
(none) -> shows transpiled code
-r / --rust <rust_file_name> -> shows transpiled code and turns it into a rust file
-c / --compile <exe_name> -> shows transpiled code, creates a temp.rs file, compiles to an exe and deletes the temp.rs file
2024-05-06 20:56:37 +02:00
RudideC 7f7faf67b5 Added arguments and modified .gitignore
I added -h / --help and -f / --file so that the wyst code files aren't hard coded
This makes it easier to test and debug
2024-05-06 09:44:23 +02:00
selimaj-dev d93f5dd85a 1 2024-04-29 12:48:25 +02:00
selimaj-dev 78fdf69422 line/col fix 1 2024-04-26 00:51:30 +02:00
selimaj-dev cf588ab7e7 A LOT of bug fixes 2024-04-25 02:37:07 +02:00
selimaj-dev 1626137ad6 small change 2024-04-17 19:19:27 +02:00
selimaj-dev b24b34cb44 better errors 2024-04-14 00:11:39 +02:00
selimaj-dev e0c88f1d60 very small change 2024-04-13 20:40:33 +02:00
selimaj-dev 3e545e462d optimized brackets 2024-04-12 20:24:15 +02:00
selimaj-dev ac7df0a9fe optimized brackets 2024-04-12 20:23:51 +02:00
Leo a70c4a1990 some changes 2024-04-11 16:32:41 +02:00
Leo bae3e38318 even more bug fixes 2024-04-11 16:21:47 +02:00
Leo d05b10602a tiny change 2024-04-10 21:04:32 +02:00
Leo e9cf927390 another bug fix 2024-04-10 20:58:55 +02:00
Leo 8b9bf4cc90 another bug fix 2024-04-10 18:47:21 +02:00
Leo 84397b05d0 bug fixes 2024-04-10 18:46:48 +02:00
Leo a689c04122 codegen alpha 2024-04-10 18:33:18 +02:00
Leo e2f87dc818 codegen alpha 2024-04-10 18:32:47 +02:00
selimaj-dev de2889c5d8 mut declerations 2024-04-08 15:44:33 +02:00
selimaj-dev 3e41b5f3ac colorful printing 2024-04-08 14:09:59 +02:00
Leo 8a3009ac16 bug fix 2024-04-07 21:10:42 +02:00
Leo 6faedc7c0d parser change 2024-04-07 20:49:21 +02:00
selimaj-dev cafc52da16 added 2 ast nodes 2024-04-06 17:57:00 +02:00
selimaj-dev 5e7871eac9 unnecessary variable i on parser 2024-04-03 18:44:45 +02:00
selimaj-dev 5eb7361a4a fixed repeaded AstDef Bug 2024-04-03 18:42:13 +02:00
xQuantx 1af6520d39 Fix thing
Signed-off-by: xQuantx <[email protected]>
2024-04-03 16:15:16 +02:00
xQuantx fac45a1100 Merge branch 'master' into wip/lexer-info 2024-04-03 16:06:59 +02:00
xQuantx 13bc6f327d Add line and column counting
Signed-off-by: xQuantx <[email protected]>
2024-04-03 15:55:56 +02:00
selimaj-dev 4b3aca6286 added support for all the AstDef types 2024-04-03 15:14:00 +02:00