Praise God !
learn-compiler is an effort in learning more for compilers and parallel programming.
design a language around limitations sometimes
what kind of features: easy to support
limited version of compile time code
studiying how to implement elements like parsing, type checking, optimizations, code generation, language service, repl, debug etc
studying how to do it with
- parallel runs for modules
- caching
- modularity
for now a small language, which is maybe a subset of nim is used to target x86_64
plan is to also generalize it to
- my own language experiments
- other languages/subsets of languages
- other stuff
- simple types
- c generation ?
- run in parallel
- caching
- ir generation: very unsure about
- assembler: custom? can be ok
nim cpp -d:useMalloc --boundchecks:off --exceptions:cpp --threads:on --tlsEmulation:off --nimcache:nimcache -d:release --passC:"-fopenmp" --passL:"-fopenmp" learn.nim
zoom: load videos etc from bible ok or web crossref ok or other ok
zig, rust