Download crates/subleq-ir/src/lib.rs from Snapkitty/rowm-polymorphic-notebook: direct link, hf CLI and curl.
- Browser
- Download file 423 Bytes
-
https://huggingface.co/Snapkitty/rowm-polymorphic-notebook/resolve/main/crates/subleq-ir/src/lib.rs
- Command line
-
hf download hf://Snapkitty/rowm-polymorphic-notebook/crates/subleq-ir/src/lib.rs
-
curl -L -o lib.rs https://huggingface.co/Snapkitty/rowm-polymorphic-notebook/resolve/main/crates/subleq-ir/src/lib.rs
423 Bytes
| //! Unified Intermediate Representation | |
| //! | |
| //! - Common AST nodes for all 30+ languages | |
| //! - Stack-based bytecode intermediate form | |
| //! - SUBLEQ memory layout code generation | |
| pub mod ast; | |
| pub mod bytecode; | |
| pub mod lowering; | |
| pub mod subleq_codegen; | |
| pub use ast::{Expr, Stmt, Program, Type}; | |
| pub use bytecode::{Bytecode, Opcode, Register}; | |
| pub use lowering::Lowerer; | |
| pub use subleq_codegen::SubleqCodegen; | |