Natapat Samutpong
|
39b79b8c61
|
bool.h, running clang and clang-format on comp
|
2022-02-24 21:45:35 +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
|
01b7d33181
|
use box instead of vec
|
2022-02-17 21:09:19 +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 |
|
Natapat Samutpong
|
fce1760198
|
lexer + call
|
2022-02-17 12:04:52 +07:00 |
|
Natapat Samutpong
|
91f89d7ef6
|
rewrote with chumsky
|
2022-02-16 22:36:33 +07:00 |
|
Natapat Samutpong
|
900c225a12
|
import file
|
2022-02-12 21:25:20 +07:00 |
|
Natapat Samutpong
|
0b82cf058f
|
return type hint
|
2022-02-12 20:37:28 +07:00 |
|
Natapat Samutpong
|
b4d3399a32
|
prefix and paren covered expr
|
2022-02-12 20:33:33 +07:00 |
|
Natapat Samutpong
|
49716a8192
|
infix expr
|
2022-02-12 20:21:42 +07:00 |
|
Natapat Samutpong
|
d841f5d2c1
|
if else and commenting
|
2022-02-12 20:17:13 +07:00 |
|
Natapat Samutpong
|
20decd8677
|
optional semicolons!!
|
2022-02-12 18:51:43 +07:00 |
|
Natapat Samutpong
|
a3376f2492
|
return statement
|
2022-02-12 18:33:37 +07:00 |
|
Natapat Samutpong
|
826092c54b
|
call stmt in root
|
2022-02-12 18:29:10 +07:00 |
|
Natapat Samutpong
|
b455c661a0
|
feat: funcs ast
|
2022-02-12 15:04:44 +07:00 |
|
Natapat Samutpong
|
028c58980c
|
some AST generation (let, ident, etc.)
also no more formal commit message because im lazy
|
2022-02-12 14:29:33 +07:00 |
|
Natapat Samutpong
|
24daf588b0
|
feat: lexer & overall rework
|
2022-02-12 13:28:53 +07:00 |
|
Natapat Samutpong
|
4f97a39f86
|
feat: HIR instead of instructions
|
2022-02-11 21:22:10 +07:00 |
|
Natapat Samutpong
|
49d70b9a41
|
feat: file generation
|
2022-02-11 18:30:54 +07:00 |
|
Natapat Samutpong
|
a0f30d19ef
|
docs: more clearer explanation
|
2022-02-11 18:16:13 +07:00 |
|
Natapat Samutpong
|
a5b633a98d
|
refactor: remove unused
|
2022-02-11 18:07:32 +07:00 |
|
Natapat Samutpong
|
4879cc2ffc
|
feat: project structure, some gen code
|
2022-02-11 18:07:32 +07:00 |
|
Natapat Samutpong
|
cb6b35a2dc
|
feat: error reporting
|
2022-02-11 18:07:32 +07:00 |
|
Natapat Samutpong
|
7040bbaa12
|
refactor: simplify list
|
2022-02-11 18:07:32 +07:00 |
|
Natapat Samutpong
|
1859a9c4bb
|
refactor: Nil, more helpful help
|
2022-02-11 18:07:32 +07:00 |
|
Natapat Samutpong
|
9e8c9e72dd
|
feat: args handling
|
2022-02-11 18:07:32 +07:00 |
|
Natapat Samutpong
|
252a8aae33
|
refactor: rewrote lol
|
2022-02-11 18:07:32 +07:00 |
|
Natapat Samutpong
|
17981acc49
|
refactor: move file up 1 director
|
2022-02-11 18:07:32 +07:00 |
|
Natapat Samutpong
|
5a65ee2fc7
|
feat: math intrinsic
|
2022-02-11 18:07:32 +07:00 |
|
Natapat Samutpong
|
3d02755095
|
refactor: better file structure
|
2022-02-11 18:07:32 +07:00 |
|
Natapat Samutpong
|
9699e4a270
|
refactor: more simpler instructions
|
2022-02-11 18:07:32 +07:00 |
|
Natapat Samutpong
|
65e7ca560f
|
feat: some bytecode compiling
|
2022-02-11 18:07:32 +07:00 |
|
Natapat Samutpong
|
cdd59643a5
|
feat: argument handling, makefile
|
2022-02-11 18:07:32 +07:00 |
|
Natapat Samutpong
|
2f81911813
|
refactor: .vl -> .blsp
|
2022-02-11 18:07:32 +07:00 |
|
Natapat Samutpong
|
8d88fc41ad
|
fix: fix string being splitted
|
2022-02-11 18:07:32 +07:00 |
|
Natapat Samutpong
|
aa4fbf3d3b
|
refactor: simplify parser
|
2022-02-11 18:07:32 +07:00 |
|
Natapat Samutpong
|
0b3d39ebfd
|
feat: Expression generation for compiling
|
2022-02-11 18:07:32 +07:00 |
|
Natapat Samutpong
|
c20d8feda4
|
feat: better error reporting
|
2022-02-11 18:05:43 +07:00 |
|
Natapat Samutpong
|
c03ec9e5f4
|
fix: better list & vector fmt
|
2022-01-22 06:53:56 +07:00 |
|
Natapat Samutpong
|
af2299e78f
|
feat: init
|
2022-01-22 06:43:50 +07:00 |
|