1
1
Fork 0
mirror of https://github.com/azur1s/bobbylisp.git synced 2024-10-16 02:37:40 -05:00
Commit graph

96 commits

Author SHA1 Message Date
Natapat Samutpong 8ca4abe394 public variable & function 2022-03-20 20:40:51 +07:00
Natapat Samutpong 4e6acf7038 cleanup 2022-03-20 20:25:31 +07:00
Natapat Samutpong cf3dccca2c do blocks generate scope 2022-03-20 05:53:43 +07:00
Natapat Samutpong 8aee7b7974 examples 2022-03-20 05:35:29 +07:00
Natapat Samutpong d5feadd70b Create factorial.hz 2022-03-19 10:03:43 +07:00
Natapat Samutpong 6a34347a32 switch case 2022-03-19 09:53:33 +07:00
Natapat Samutpong 419d152cf7 one or more holes in piping, (almost) mutable variable 2022-03-19 08:44:43 +07:00
Natapat Samutpong 2d45cf240b emit intrinsic 2022-03-18 06:57:52 +07:00
Natapat Samutpong 30331c9bf6 prefix transpiled variable & function 2022-03-18 06:26:54 +07:00
Natapat Samutpong 71f313dbe1 cpp -> typescript 2022-03-16 07:36:39 +07:00
Natapat Samutpong 40a7d1d3c3 some more docs for contributors 2022-03-13 16:21:33 +07:00
Natapat Samutpong 87d96378f4 hole span 2022-03-13 12:41:23 +07:00
Natapat Samutpong 74a3422271 positional argument in piping 2022-03-13 12:03:07 +07:00
Natapat Samutpong 6642163cd7 mix together hello world 2022-03-13 08:44:02 +07:00
Natapat Samutpong d211a05fd0 read and write file 2022-03-13 07:17:12 +07:00
Natapat Samutpong 5754ecf641 @time() 2022-03-13 07:01:39 +07:00
Natapat Samutpong 9431270504 Create hello_world_pipe.hz 2022-03-13 06:28:38 +07:00
Natapat Samutpong 2259141647 c++ library, intrinsic pipable 2022-03-13 06:26:59 +07:00
Natapat Samutpong 1f5eaab23a Update pipe.hz 2022-03-13 05:38:39 +07:00
Natapat Samutpong 516a7ac04a Update pipe.hz 2022-03-13 05:03:00 +07:00
Natapat Samutpong 9c782a0a29 pipe operator 2022-03-13 05:00:42 +07:00
Natapat Samutpong 5c2e3048df lowering error report 2022-03-12 20:46:43 +07:00
Natapat Samutpong 2035dd115d binary and unary, fix some missing semicolon 2022-03-12 10:25:52 +07:00
Natapat Samutpong ebaee0ea0c if else 2022-03-12 10:10:41 +07:00
Natapat Samutpong 0ee36feecb intrinsic 2022-03-12 08:37:47 +07:00
Natapat Samutpong 682178bec9 diagnostic crate 2022-03-12 06:35:14 +07:00
Natapat Samutpong 9f4cf84f34 fun, return, do 2022-03-07 15:47:03 +07:00
Natapat Samutpong dccbe7c17c write, read. hello, world! 2022-03-07 15:29:13 +07:00
Natapat Samutpong dd8d73c51a codegen (c++), removed float for now 2022-03-07 15:15:43 +07:00
Natapat Samutpong e38d26ccb2 some (h)ir 2022-03-07 03:45:09 +07:00
Natapat Samutpong 23f1edfea4 return keyword 2022-03-07 00:20:18 +07:00
Natapat Samutpong a8aa4569c3 Update ex.hyc 2022-03-06 22:15:07 +07:00
Natapat Samutpong 87b3c7717b massive amount of refactor
- parser and lexer now have span
- split into mini-crates
2022-03-06 22:04:48 +07:00
Natapat Samutpong 40f48cbbf1 use const for function declaration, comma separated args 2022-03-06 00:13:48 +07:00
Natapat Samutpong d10f3e3f38 fuck it js backend 2022-02-26 20:44:06 +07:00
Natapat Samutpong 76c569b625 Update ex.hyc 2022-02-25 16:15:40 +07:00
Natapat Samutpong 16fca1cee6 fix a bit of parser 2022-02-25 15:59:17 +07:00
Natapat Samutpong bc2b55e22a puts to lower write instead 2022-02-25 04:37:43 +07:00
Natapat Samutpong a98cc8ca27 refactor to have IR in compliation 2022-02-25 02:58:50 +07:00
Natapat Samutpong 0e3cd664af some c backend 2022-02-24 19:33:14 +07:00
Natapat Samutpong c15183ca66 tweaked sexpr gen 2022-02-18 11:31:22 +07:00
Natapat Samutpong 9d10030c47 remove in 2022-02-18 09:06:39 +07:00
Natapat Samutpong 43ed1ac1f5 finished sexpr conversion 2022-02-18 08:41:05 +07:00
Natapat Samutpong 79307db4fe expr to sexpr (unfinished) 2022-02-17 23:30:35 +07:00
Natapat Samutpong 9344bb1977 in in let syntax 2022-02-17 22:36:00 +07:00
Natapat Samutpong c3e9ede0ef 😱 no comma in args call!? 2022-02-17 21:41:41 +07:00
Natapat Samutpong 63fb726e6e if do block 2022-02-17 20:44:36 +07:00
Natapat Samutpong db773bf735 C-style comment 2022-02-17 13:50:32 +07:00
Natapat Samutpong 6242f7a2e3 comparison 2022-02-17 13:10:10 +07:00
Natapat Samutpong f56965bdb6 expr and block expr 2022-02-17 12:32:50 +07:00