{"id":30432238,"url":"https://github.com/nerd-bear/legacyancientoldbassil","last_synced_at":"2026-03-14T16:32:49.222Z","repository":{"id":255079232,"uuid":"848488332","full_name":"nerd-bear/LEGACYANCIENTOLDBASSIL","owner":"nerd-bear","description":"Bassil: A modern, mid-level interpreted programming language designed for efficiency and readability. Featuring robust lexical analysis, error handling, and cross-platform support for Windows and Linux. Bassil offers a balance between low-level control and high-level abstraction, making it ideal for system programming, web development, and more.","archived":false,"fork":false,"pushed_at":"2025-07-13T22:57:06.000Z","size":2287,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-22T21:27:00.070Z","etag":null,"topics":["cpp","custom-interpreted-language","custom-language","custom-programming-language","interpreter","lexer","lexer-parser","parser"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nerd-bear.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-08-27T21:16:20.000Z","updated_at":"2025-07-13T22:57:09.000Z","dependencies_parsed_at":"2024-09-12T01:22:21.068Z","dependency_job_id":"93291895-8768-401c-b45d-54f61fc6b824","html_url":"https://github.com/nerd-bear/LEGACYANCIENTOLDBASSIL","commit_stats":null,"previous_names":["nerd-bear/bassil"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nerd-bear/LEGACYANCIENTOLDBASSIL","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerd-bear%2FLEGACYANCIENTOLDBASSIL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerd-bear%2FLEGACYANCIENTOLDBASSIL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerd-bear%2FLEGACYANCIENTOLDBASSIL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerd-bear%2FLEGACYANCIENTOLDBASSIL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nerd-bear","download_url":"https://codeload.github.com/nerd-bear/LEGACYANCIENTOLDBASSIL/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerd-bear%2FLEGACYANCIENTOLDBASSIL/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273051868,"owners_count":25037078,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cpp","custom-interpreted-language","custom-language","custom-programming-language","interpreter","lexer","lexer-parser","parser"],"created_at":"2025-08-22T20:40:55.057Z","updated_at":"2026-03-14T16:32:49.208Z","avatar_url":"https://github.com/nerd-bear.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ⚠ WARNING! ⚠\n**This project is no longer maintained and was not developed to the end. ~~This project may be continued in the future. However, it is more likely that the project will merge as part of another project with https://github.com/nerd-bear/SQS~~ This project has been restared, to see the project visit https://github.com/nerd-bear/Bassil.**\n\n\n# Bassil Language Project\n\n## Overview\n\nBassil is a custom programming language project with a lexical analyzer and various utility functions. This project is designed to tokenize and analyze Bassil language code, providing a foundation for further language processing steps.\n\n## Table of Contents\n\n1. [Project Structure](#project-structure)\n2. [Features](#features)\n3. [Dependencies](#dependencies)\n4. [Building the Project](#building-the-project)\n5. [Usage](#usage)\n6. [File Descriptions](#file-descriptions)\n7. [Key Components](#key-components)\n8. [Error Handling](#error-handling)\n9. [Utility Functions](#utility-functions)\n10. [Windows-Specific Features](#windows-specific-features)\n11. [Contributing](#contributing)\n12. [License](#license)\n\n## Project Structure\n\nThe project is organized into several key components:\n\n- `main.cpp`: Entry point of the application\n- `lexer.h` and `lexer.cpp`: Lexical analyzer implementation\n- `error_report.h` and `error_report.cpp`: Error reporting functionality\n- `utils.h` and `utils.cpp`: Utility functions\n- `buildInfo.txt`: Compilation and dependency information\n\n## Features\n\n- Lexical analysis of Bassil language code\n- Token generation and classification\n- Error reporting with line and column information\n- Extensive utility functions for string manipulation, file operations, and Windows API interaction\n- Console output formatting with ANSI escape sequences\n- File association and icon setting for Bassil files\n\n## Dependencies\n\n- Windows operating system (Tested on Windows 10)\n- GCC/G++ compiler (Tested with version 13.2.0)\n- Windows API libraries: gdi32, user32, shell32\n\n## Building the Project\n\nTo build the project, use the following command:\n\n```\ng++ ./src/main.cpp ./src/cpp/utils.cpp ./src/cpp/lexer.cpp ./src/cpp/error_report.cpp -o C:/coding-projects/CPP-Dev/bassil/build/Bassil-Main-Build-ORS-A01 -lgdi32 -luser32 -lshell32\n```\n\nOptional: Add `-w` flag to remove warnings from the compile message.\n\n## Usage\n\nAfter building the project, run the executable `Bassil-Main-Build-ORS-A01`. The program will perform lexical analysis on the input file specified in `main.cpp` (default: `C:/coding-projects/CPP-Dev/bassil/input/main.basl`).\n\n## File Descriptions\n\n- `main.cpp`: Contains the `WinMain` function, initializes the application, performs lexical analysis, and handles errors.\n- `lexer.h` and `lexer.cpp`: Define token types and implement the lexical analyzer.\n- `error_report.h` and `error_report.cpp`: Provide error reporting functionality.\n- `utils.h` and `utils.cpp`: Contain various utility functions for string manipulation, file operations, and Windows API interactions.\n\n## Key Components\n\n### Lexical Analyzer\n\nThe lexical analyzer in `lexer.cpp` tokenizes input code into the following token types:\n\n- Identifiers\n- Keywords (int, char, float, string)\n- Literals (integers, floats, strings)\n- Operators (arithmetic, comparison, logical)\n- Punctuation (parentheses, braces, semicolons, commas)\n\n### Token Structure\n\nEach token contains:\n\n- Type\n- Value\n- Line number\n- Start column\n- End column\n\n## Error Handling\n\nThe project includes an error reporting system that provides detailed information about lexical errors, including:\n\n- File path\n- Line number\n- Column number\n- Error message\n\n## Utility Functions\n\nThe `Utils` namespace in `utils.cpp` provides a wide range of utility functions, including:\n\n- String manipulation (splitting, trimming, formatting)\n- File operations (reading, writing, logging)\n- Console output formatting with ANSI escape sequences\n- Windows API interactions (message boxes, notifications)\n- Color and text formatting utilities\n\n## Windows-Specific Features\n\n- Creation of Windows API 32-bit message boxes\n- Windows API balloon notifications\n- File association and icon setting for Bassil files\n- Retrieval of monitor information\n\n## Contributing\n\nContributions to the Bassil Language Project are welcome. Please ensure that your code adheres to the existing style and includes appropriate documentation and test coverage.\n\n## License\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n- Thanks to all contributors and supporters of the Bassil project.\n\n## Contact\nFor any queries or suggestions, please open an issue in the GitHub repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerd-bear%2Flegacyancientoldbassil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnerd-bear%2Flegacyancientoldbassil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerd-bear%2Flegacyancientoldbassil/lists"}