{"id":19764315,"url":"https://github.com/grahms/slang-rust-lexical-analyzer","last_synced_at":"2026-02-26T23:33:31.095Z","repository":{"id":208783864,"uuid":"722477636","full_name":"GraHms/SLang-Rust-Lexical-Analyzer","owner":"GraHms","description":"The SamoraLang Rust Lexical Analyzer is a lexer implemented in Rust for the SamoraLang programming language. This lexer is designed to tokenize SamoraLang source code, providing a foundation for further stages in the language processing pipeline.","archived":false,"fork":false,"pushed_at":"2023-11-23T08:41:58.000Z","size":4,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-23T18:04:53.747Z","etag":null,"topics":["lexer","lexical-analysis","lexical-analyzer","rust-lang","samora-lang"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GraHms.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-23T08:33:29.000Z","updated_at":"2024-05-24T15:12:00.000Z","dependencies_parsed_at":"2023-11-23T09:44:20.431Z","dependency_job_id":null,"html_url":"https://github.com/GraHms/SLang-Rust-Lexical-Analyzer","commit_stats":null,"previous_names":["grahms/slang-rust-lexical-analyzer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GraHms/SLang-Rust-Lexical-Analyzer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GraHms%2FSLang-Rust-Lexical-Analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GraHms%2FSLang-Rust-Lexical-Analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GraHms%2FSLang-Rust-Lexical-Analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GraHms%2FSLang-Rust-Lexical-Analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GraHms","download_url":"https://codeload.github.com/GraHms/SLang-Rust-Lexical-Analyzer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GraHms%2FSLang-Rust-Lexical-Analyzer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29877007,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T22:37:10.609Z","status":"ssl_error","status_checked_at":"2026-02-26T22:37:09.019Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lexer","lexical-analysis","lexical-analyzer","rust-lang","samora-lang"],"created_at":"2024-11-12T04:13:23.767Z","updated_at":"2026-02-26T23:33:31.020Z","avatar_url":"https://github.com/GraHms.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SamoraLang Rust Lexical Analyzer\n\nThe SamoraLang Rust Lexical Analyzer is a lexer implemented in Rust for the SamoraLang programming language.\nThis lexer is designed to tokenize SamoraLang source code, \nproviding a foundation for further stages in the language processing pipeline.\n\n## Features\n\n- Tokenizes SamoraLang source code into a stream of tokens.\n- Supports a variety of token types, including identifiers, keywords, operators, and literals.\n- Handles whitespace and comments gracefully.\n- Written in Rust for efficiency and reliability.\n\n## Getting Started\n\n### Prerequisites\n\nTo use the SamoraLang Rust Lexical Analyzer, you need to have Rust and Cargo installed on your system. If you haven't installed Rust, you can do so by following the instructions on the [official Rust website](https://www.rust-lang.org/).\n\n### Installation\n\nClone the repository to your local machine:\n\n```bash\ngit clone https://github.com/GraHms/SLang-Rust-Lexical-Analyzer.git\ncd SLang-Rust-Lexical-Analyzer.\n```\n\nBuild the project using Cargo:\n\n```bash\ncargo build --release\n```\n\n### Usage\n\nOnce the project is built, you can use the lexer in your Rust projects. Import the lexer module and create an instance of the `Lexer` struct:\n\n```rust\nuse samoralang_lexer_rust::lexer::Lexer;\n\nfn main() {\n    let input = \"let x = 5;\";\n    let mut lexer = Lexer::new(input.to_string());\n\n    loop {\n        let token = lexer.next_token();\n        // Process or display the token as needed\n        println!(\"{:?}\", token);\n\n        if token.r#type == TokenType::EOF {\n            break;\n        }\n    }\n}\n```\n\n## Contributing\n\nIf you find issues or want to contribute to the development of the SamoraLang Rust Lexical Analyzer, please open an issue or submit a pull request on the [GitHub repository](https://github.com/GraHms/SLang-Rust-Lexical-Analyzer.git).\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n\n---\n\nFeel free to customize this template based on your specific project details. Include any additional sections that might be relevant for your users, such as a roadmap, known issues, or examples of SamoraLang code.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrahms%2Fslang-rust-lexical-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrahms%2Fslang-rust-lexical-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrahms%2Fslang-rust-lexical-analyzer/lists"}