{"id":26873597,"url":"https://github.com/basaicorp/razen-lang","last_synced_at":"2025-03-31T09:19:36.148Z","repository":{"id":285344529,"uuid":"957799743","full_name":"BasaiCorp/Razen-Lang","owner":"BasaiCorp","description":"🚀 Razen is a modern, lightweight programming language with Python-like syntax, high performance, and built-in debugging. Perfect for scripting, testing, and custom module development.","archived":false,"fork":false,"pushed_at":"2025-03-31T07:03:06.000Z","size":0,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T07:31:34.569Z","etag":null,"topics":["coding","easy","free","lightweight","llvm","news","open-source","powerful","programming-language","python","python3","scripting-language","speech"],"latest_commit_sha":null,"homepage":"https://razen-lang.in","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BasaiCorp.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}},"created_at":"2025-03-31T06:39:53.000Z","updated_at":"2025-03-31T07:10:13.000Z","dependencies_parsed_at":"2025-03-31T07:41:41.365Z","dependency_job_id":null,"html_url":"https://github.com/BasaiCorp/Razen-Lang","commit_stats":null,"previous_names":["basaicorp/razen-lang"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BasaiCorp%2FRazen-Lang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BasaiCorp%2FRazen-Lang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BasaiCorp%2FRazen-Lang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BasaiCorp%2FRazen-Lang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BasaiCorp","download_url":"https://codeload.github.com/BasaiCorp/Razen-Lang/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246443534,"owners_count":20778252,"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","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":["coding","easy","free","lightweight","llvm","news","open-source","powerful","programming-language","python","python3","scripting-language","speech"],"created_at":"2025-03-31T09:19:35.388Z","updated_at":"2025-03-31T09:19:36.138Z","avatar_url":"https://github.com/BasaiCorp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Razen Programming Language (beta v0.1.2)\n\n## Overview\nRazen is a modern, intuitive programming language designed for clarity, performance, and ease of use. With a clean syntax inspired by Python and strong type safety, Razen offers an excellent balance between development speed and runtime performance.\n\nDeveloped by Prathmesh Barot, Basai Corporation.\n\n## Features\n- **Intuitive Syntax**: Python-like syntax that's easy to read and write\n- **Fast Performance**: Built for efficiency with optimized runtime execution\n- **Built-in Debugging**: Comprehensive debugging tools including step-by-step execution\n- **String Interpolation**: Powerful nested string interpolation with `${...}` syntax\n- **Type Flexibility**: Combines dynamic typing with optional type annotations\n- **Expressive Conditionals**: Clean if/else syntax with support for nested conditions\n- **Interactive Mode**: Built-in REPL for testing code snippets\n- **Lightweight**: Small footprint with minimal dependencies\n\n## Installation\n\n### One-Command Installation\n\nUsing wget:\n```bash\nwget -qO- \"https://raw.githubusercontent.com/BasaiCorp/razen-lang/main/install.sh\" | bash\n```\n\nUsing curl:\n```bash\ncurl -o install.sh \"https://raw.githubusercontent.com/BasaiCorp/razen-lang/main/install.sh\" \u0026\u0026 chmod +x install.sh \u0026\u0026 ./install.sh\n```\n\nThis will download and install Razen globally on your system, making the `razen` command available from anywhere.\n\n### Keeping Razen Updated\n\nTo update Razen to the latest version:\n```bash\nrazen-update\n```\n\nThis will automatically check for updates and install the newest version if available.\n\n### Uninstalling Razen\n\nTo uninstall Razen:\n```bash\nrazen uninstall\n```\n\nAlternatively:\n```bash\nsudo /usr/local/lib/razen/install.sh --uninstall\n```\n\n## Usage\n\n### Command Reference\n\n```bash\n# Core Commands\nrazen \u003cfilename.rzn\u003e       # Run a Razen script\nrazen new \u003cfilename\u003e       # Create a new Razen program\nrazen version              # Display version information\nrazen help                 # Show help information\nrazen uninstall            # Uninstall Razen\n\n# Specialized Tools\nrazen-debug \u003cfilename.rzn\u003e # Debug mode with detailed output\nrazen-test \u003cfilename.rzn\u003e  # Test mode for testing scripts\nrazen-run \u003cfilename.rzn\u003e   # Clean mode (only shows program output)\nrazen-update               # Update to the latest version\nrazen-help                 # Display detailed help with formatting\n```\n\n### Running Scripts\n\n```bash\nrazen path/to/script.rzn       # Standard execution\nrazen-debug path/to/script.rzn # Debug mode with detailed output\nrazen-test path/to/script.rzn  # Test mode for testing scripts\nrazen-run path/to/script.rzn   # Clean mode (only shows program output)\n```\n\n### Creating Your First Razen Program\n\nYou can create a new Razen program with a template:\n```bash\nrazen new hello\n```\n\nThis creates a new file `hello.rzn` with a Hello World template:\n```razen\n// New Razen program created on [current date]\n// Powered by Razen Language\n\n// Your code goes here\nlet message = \"Hello, World!\"\nshow \"${message}\"\n\n// Read user input\nread user_input = \"What's your name? \"\nshow \"Nice to meet you, ${user_input}!\"\n```\n\nRun it with:\n```bash\nrazen-run hello.rzn\n```\n\n## Example Code\n\n```razen\n// Variables\nlet name = \"World\"\nlet price = 9.99\nlet quantity = 5\nlet is_available = true\n\n// String interpolation\nshow \"Hello, ${name}!\"\n\n// Calculations\nlet total = price * quantity\nshow \"Total cost: ${total}\"\n\n// Conditionals\nif total \u003e 50 {\n    show \"Qualifies for free shipping!\"\n} else {\n    show \"Add more items for free shipping.\"\n}\n\n// Input\nread user_input = \"Enter your name: \"\nshow \"Hello, ${user_input}!\"\n\n// Nested interpolation\nlet inner = \"value\"\nlet outer = \"Outer with ${inner}\"\nshow \"${outer}\"\n```\n\nCheck the `examples` folder for more sample programs and tutorials.\n\n## Command Details\n\n### razen-update\nA dedicated command to check for and install updates from the main repository. It shows the current version and latest available version, then performs the update if a newer version is available.\n\n### razen-help\nA colorful, well-formatted help command that displays comprehensive information about all available Razen commands, tools, and usage examples.\n\n### razen new\nCreates a new Razen program with a template to help you get started quickly. Automatically adds the `.rzn` extension if not provided.\n\n### razen uninstall\nSafely removes all Razen files and symbolic links from your system. Provides confirmation before proceeding.\n\n## File Locations\n\n- **Core files**: `/usr/local/lib/razen`\n- **Examples**: `/usr/local/lib/razen/examples`\n- **Scripts**: `/usr/local/lib/razen/scripts`\n\n## License\nRazen is licensed under a custom license. See the [LICENSE](./LICENSE) file for details.\n\nKey points:\n- You can use Razen for personal and commercial projects\n- You can create libraries and applications using Razen\n- You cannot modify, rebrand, or redistribute the core language\n- You must include attribution: \"Powered by Razen - © 2025 Prathmesh Barot\"\n\n## Attribution\nWhen using Razen in your projects, please include the following attribution:\n\n```\nPowered by Razen - © 2025 Prathmesh Barot, Basai Corporation\n```\n\n## Contact\nFor questions, support, or feedback about Razen, please contact:\n- Email: prathmesh.barot@example.com\n- GitHub: [https://github.com/BasaiCorp/razen-lang](https://github.com/BasaiCorp/razen-lang)\n\n**Official website coming soon!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasaicorp%2Frazen-lang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasaicorp%2Frazen-lang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasaicorp%2Frazen-lang/lists"}