index
:
bdl
dev
ir
main
Bad Diode's Lisp. Experiments with interpreters, compilers and VMs
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
src
/
main.c
Commit message (
Collapse
)
Author
Age
Files
Lines
*
Fix a segfault
Bad Diode
9 days
1
-3
/
+3
|
*
Add enum de-structuring and int matching on match expr
Bad Diode
9 days
1
-11
/
+54
|
*
Add err to analyzer context
Bad Diode
9 days
1
-2
/
+33
|
*
Fill up main symbol table with everything we need
Bad Diode
9 days
1
-3
/
+10
|
*
Further consolidate symbol names
Bad Diode
9 days
1
-101
/
+122
|
*
Continue consolidation with proper naming
Bad Diode
9 days
1
-71
/
+71
|
*
Consolidate semantic analyzer functions
Bad Diode
9 days
1
-392
/
+65
|
*
Fix a bug with type resolution for inner structs
Bad Diode
10 days
1
-1
/
+1
|
*
Fix struct literal assignment
Bad Diode
10 days
1
-21
/
+29
|
*
Fix typechecking for nested struct literals
Bad Diode
10 days
1
-18
/
+35
|
*
Fix bug in struct/enum field matching
Bad Diode
10 days
1
-23
/
+35
|
*
Bugfixes for struct accessors
Bad Diode
10 days
1
-51
/
+45
|
*
Update inner struct symbol resolution
Bad Diode
10 days
1
-10
/
+17
|
*
Add inner struct typechecking
Bad Diode
10 days
1
-73
/
+133
|
*
Add compound types for anonymous struct fields
Bad Diode
11 days
1
-30
/
+32
|
*
Add struct literals typechecking
Bad Diode
11 days
1
-9
/
+49
|
*
Fix set typechecking
Bad Diode
11 days
1
-3
/
+13
|
*
Add typechecking for structs and struct fields
Bad Diode
11 days
1
-7
/
+88
|
*
Add field accessor for typechecking enum fields
Bad Diode
11 days
1
-5
/
+40
|
*
Add typechecking for enum fields
Bad Diode
11 days
1
-9
/
+51
|
*
Fix typechecking issues for bitops tests
Bad Diode
11 days
1
-7
/
+13
|
*
Add funcall typechecking
Bad Diode
11 days
1
-16
/
+45
|
*
Make sure nil return values and parameters are considered as such
Bad Diode
11 days
1
-2
/
+16
|
*
Add more graph viz for function maps and types
Bad Diode
11 days
1
-19
/
+174
|
*
Change typecheck returns to emit err on site
Bad Diode
12 days
1
-29
/
+16
|
*
Typecheck return values in the entire function body
Bad Diode
12 days
1
-8
/
+81
|
*
Add proper parsing of return statements and functions params
Bad Diode
12 days
1
-9
/
+25
|
*
Add wip function typechecking
Bad Diode
12 days
1
-0
/
+73
|
*
Add non-exhaustive typechecking for cond/match expr
Bad Diode
12 days
1
-1
/
+47
|
*
Add set typechecking
Bad Diode
12 days
1
-0
/
+23
|
*
Add while typechecking
Bad Diode
12 days
1
-4
/
+18
|
*
Add typechecking for if expressions
Bad Diode
12 days
1
-0
/
+30
|
*
Change typechecking to be independent of the symbolic checking
Bad Diode
12 days
1
-46
/
+112
|
*
Add more expressions to type inference method
Bad Diode
12 days
1
-25
/
+101
|
*
Implement basic type inference for numbers and symbols
Bad Diode
12 days
1
-28
/
+48
|
*
Start basic type checking/inference
Bad Diode
12 days
1
-122
/
+89
|
*
Add constrain to let parsing either type or value must be present
Bad Diode
13 days
1
-1
/
+1
|
*
Start implementing the typechecker
Bad Diode
2024-06-21
1
-6
/
+154
|
*
Remove old files no longer needed as reference
Bad Diode
2024-06-21
1
-6
/
+89
|
*
Add semantic duplication check for enum fields
Bad Diode
2024-06-21
1
-8
/
+16
|
*
Add semantic checking for enum constructs
Bad Diode
2024-06-21
1
-10
/
+46
|
*
Fix scope allocation bug (non zero!)
Bad Diode
2024-06-21
1
-3
/
+6
|
*
Add scope pointer to AST nodes
Bad Diode
2024-06-21
1
-1
/
+3
|
*
Remove unnecessary scope creation.
Bad Diode
2024-06-21
1
-32
/
+59
|
*
Add a basic symbol checker
Bad Diode
2024-06-21
1
-13
/
+271
|
*
Add a couple of macros for ergonomic set/map creation
Bad Diode
2024-06-20
1
-0
/
+12
|
*
Move vm/chunk compiler to separate file
Bad Diode
2024-06-20
1
-404
/
+40
|
*
Add temp result printing after OP_HALT
Bad Diode
2024-06-19
1
-4
/
+22
|
*
Add proper LD instruction to lit int value type
Bad Diode
2024-06-19
1
-28
/
+81
|
*
Add a bunch of op types to the VM
Bad Diode
2024-06-19
1
-48
/
+188
|
[next]