alpha
Login
or
Join now
solune.tngl.sh
/
retlang
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Concept language with mix of assembly and C headers
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
retlang
/
backend
/
src
/
compiler
/
at
gitbutler/workspace
6 files
isofinly
feat(transpiler): Integrate bitflags for temporary variable management
11mo ago
ec4cd6d3
ast.rs
refactor: Update module visibility and improve code readability - Changed `utils` module from `pub(crate)` to `pub` for broader accessibility. - Simplified token handling in the lexer by removing unnecessary string allocations. - Updated various structs and enums in the compiler to use lifetimes for better memory management. - Enhanced error messages in the compiler for clarity. - Refactored code generation in the transpiler for improved readability and maintainability.
1 year ago
constants.rs
feat: Add CodeBuilder for AST to C code generation Implemented CodeBuilder struct to facilitate the conversion of AST to C code. Added methods for managing code generation options, analyzing used variables, and generating code for gadgets, instructions, and expressions. Enhanced memory management and stack operations in generated code.
1 year ago
core.rs
feat: Enhance compiler and CLI with transpilation and library support - Added `Transpile` command to CLI for converting source code to JavaScript. - Updated `Compile` command to support linking with external libraries. - Refactored `compile` function to return generated C code as a string. - Introduced `gcc` module for handling C compilation. - Removed unused `linker` module and related files. - Updated README to reflect address space limitations.
1 year ago
mod.rs
feat: Add benchmarks for parser and transpiler performance - Introduced benchmark tests for the parser and transpiler in the `benchmarks` directory. - Added `Cargo.toml` and `Cargo.lock` for managing benchmark dependencies. - Updated `.gitignore` to exclude generated reports. - Made `transpiler` module public for accessibility in benchmarks.
1 year ago
semantics.rs
refactor: Update module visibility and improve code readability - Changed `utils` module from `pub(crate)` to `pub` for broader accessibility. - Simplified token handling in the lexer by removing unnecessary string allocations. - Updated various structs and enums in the compiler to use lifetimes for better memory management. - Enhanced error messages in the compiler for clarity. - Refactored code generation in the transpiler for improved readability and maintainability.
1 year ago
transpiler.rs
feat(transpiler): Integrate bitflags for temporary variable management - Added `bitflags` dependency to manage temporary variables more efficiently in the transpiler. - Refactored `TempVar` enum to `TempVars` bitflags for improved memory usage and clarity. - Updated variable handling in `CodeBuilder` to utilize the new bitflags structure, enhancing performance and readability. - Adjusted related functions to accommodate the new temporary variable management approach.
11 months ago