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
/
lexer
/
at
gitbutler/workspace
4 files
isofinly
refactor: Update module visibility and improve code readability
1y ago
5b74fe69
core.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
error.rs
refactor: Organize compiler modules and improve error handling - Changed `pub mod ast;` to `mod ast;` in `mod.rs` for better encapsulation. - Added new `semantics.rs` file to the compiler module. - Updated error message handling in `core.rs` to use `to_string()` for consistency. - Refactored `NamedSource::new` in `error.rs` to accept `filename` directly. - Replaced local `byte_offset_to_line_col` function with the one from `utils::loc` in `tokens.rs`. - Moved `byte_offset_to_line_col` function to `loc.rs` for better utility access. - Adjusted `fmt::Display` implementation for `Loc` struct in `core.rs` to use a lifetime specifier.
1 year ago
mod.rs
Initial project setup with gitignore and docs diff --git a/README.md and Cargo configs indicate this is a project setup commit adding: 1. .gitignore for Rust/Node.js project 2. README with EBNF grammar spec 3. Cargo files with core dependencies 4. Initial source file structure for backend The code outlines a Return-Oriented Programming language implementation.
1 year ago
tokens.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