Phi is a toy programming language that was built to teach myself more about compiler architecture, byte-code generation, virtual machines, assembly, and optimizing-compiler techniques.
The code architecture is briefly described in the implementation doc.
Phi was intended as both an interpreted and compiled language, but only the interperter was implemented.
See the example which demonstrates (most of?) the functionality that was implemented:
- Basic conditional control flow
- Basic procedure/function invocation
- Inline GNU Assembly code with JIT execution
- (a.k.a.) a humorous substitute for a missing standard library 😁;
perhapy the only cool (☃️) language feature.
- (a.k.a.) a humorous substitute for a missing standard library 😁;
To the extent possible under law, I waive all copyright and related or neighboring rights to Philomath.