Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-07-25 | Start on amal program | dec05eba | |
Fix mutex issue in lhs expr which can cause a deadlock when a file has an error and throws and doesn't close the mutex and another thread waits for that mutex. The mutex can instead be removed and ignore race conditions which are uncommon. This should improve memory usage and performance. | |||
2020-07-25 | Start on real bytecode & doc parsing | dec05eba | |
2020-07-25 | Fix errors from pedantic check | dec05eba | |
2020-07-25 | Add compiler option for number of threads to use (instead of env) | dec05eba | |
2020-07-25 | Add assignment, while, extern, function signature type, start on bytecode | dec05eba | |
2020-07-25 | Progressing on bytecode (to c), fix ssa resolving multiple times | dec05eba | |
2020-07-25 | Start on bytecode. Commit before os switch | dec05eba | |
2020-07-25 | Test errors, stop working on error | dec05eba | |
2020-07-25 | Fix ssa call, use correct tokenizer in error | dec05eba | |
2020-07-25 | Resolve cross-file references (with mutex). Not done | dec05eba | |
2020-07-25 | Use ast pointers to fix resolving, remove try/throwing macros | dec05eba | |
2020-07-25 | Add mutex for lhs expr, add error for missing lhs expr for func, struct | dec05eba | |
TODO: Use mutex in lhs expr and set resolved_type | |||
2020-07-25 | Add pub keyword, more import stuff, optimize hash map | dec05eba | |
Hash map now stores hash of keys to reduce the number of hash operations. Positive: faster insert/get. Negative: more space required (to store usize hash). | |||
2020-07-25 | Set file scope when parser is created. No need to resolve for every @import ↵ | dec05eba | |
instance | |||
2020-07-25 | Add struct, import caching, binop ops etc | dec05eba | |
2020-07-25 | Resolve variable references | dec05eba | |
2020-07-25 | Add ssa string | dec05eba | |
2020-07-25 | Fix bugs | dec05eba | |
Fix hash map bug on rorder (invalid size). Fix string to int/float conversion in tokenizer. Add more ssa functions | |||
2020-07-25 | Refactor ssa | dec05eba | |
2020-07-25 | Fix race in amal_compiler_load_file | dec05eba | |
2020-07-25 | Turn ast resolve/ssa generation thread work to generic workflow - better for ↵ | dec05eba | |
future steps | |||
2020-07-25 | Starting on ssa | dec05eba | |
2020-07-25 | Fail compilation on error | dec05eba | |
2020-07-25 | Start on resolving ast. Add recursive declaration check | dec05eba | |
2020-07-25 | Add hash map | dec05eba | |
2020-07-25 | Add ast resolving using multiple threads | dec05eba | |
Fix issue where not all files are parsed | |||
2020-07-25 | Fix compiler join thread, fix compiliation with clang | dec05eba | |
2020-07-25 | fix crashes | dec05eba | |
2020-07-25 | Fix scoped allocator alloc bug, do all processing in non-main threads. Main ↵ | dec05eba | |
only join | |||
2020-07-25 | Use multiple threads to parse | dec05eba | |