{"id":13608456,"url":"https://github.com/Usbac/borealis","last_synced_at":"2025-04-12T17:31:39.151Z","repository":{"id":190867827,"uuid":"391074344","full_name":"Usbac/borealis","owner":"Usbac","description":"The elegant and consistent programming language.","archived":false,"fork":false,"pushed_at":"2023-09-08T23:35:13.000Z","size":266,"stargazers_count":31,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-07T14:39:19.792Z","etag":null,"topics":["language","programming","scripting"],"latest_commit_sha":null,"homepage":"https://getborealis.com","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/Usbac.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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}},"created_at":"2021-07-30T13:28:22.000Z","updated_at":"2024-08-01T07:22:20.000Z","dependencies_parsed_at":"2024-01-30T07:12:09.761Z","dependency_job_id":null,"html_url":"https://github.com/Usbac/borealis","commit_stats":null,"previous_names":["usbac/borealis"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Usbac%2Fborealis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Usbac%2Fborealis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Usbac%2Fborealis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Usbac%2Fborealis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Usbac","download_url":"https://codeload.github.com/Usbac/borealis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248605102,"owners_count":21132110,"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":["language","programming","scripting"],"created_at":"2024-08-01T19:01:27.413Z","updated_at":"2025-04-12T17:31:34.141Z","avatar_url":"https://github.com/Usbac.png","language":"C","readme":"\u003ch1 align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/Usbac/borealis/assets/38147742/3ebf177c-e3aa-4076-bd3b-4154c0af6215\" alt=\"Borealis logo\" width=\"200\"/\u003e\n\n  \u003cbr\u003e\n  Borealis\n  \u003cbr\u003e\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003eThe elegant and consistent programming language.\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://app.travis-ci.com/Usbac/borealis.svg\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/stable-0.3.0-blue.svg\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/license-MIT-orange.svg\"\u003e\n\u003c/p\u003e\n\nBorealis is a small, elegant and consistent scripting language. Includes a C-like syntax that's easy to implement.\n\n## Features\n\n* **Consistent**: Borealis offers a simple syntax and a consistent standard library. Forget about things like strange results when comparing different data types, standard functions with unexpected names or operators with weird behaviour.\n* **Easy to use**: Borealis tries to keep things simple and minimal, from its standard library and data types to its deployment and compilation. Even its source code has been meticulously written, following the [ANSI C99](https://wikipedia.org/wiki/C99) standard.\n* **Comprehensive**: The language offers multiple features useful for reducing common development headaches, like a built-in REPL debugger, statically typed variables, different operators for strings and numbers, first-class functions and more.\n\n## Install\n\n1. Compile the software with the `make` command or download it for your OS in the releases page.\n\n2. Run the following command where the Borealis executable is located: `sudo cp ./borealis /usr/local/bin`\n\n    Or move to your Borealis folder and run the command: `sudo make install`\n\nNow you should be able to access Borealis by running `borealis` in your terminal.\n\n## Examples\n\nOperators:\n```borealis\nfoo == bar; # Compare as numbers\nfoo eq bar; # Compare as strings\nfoo + bar; # Addition\nfoo ^ bar; # Concatenation\nfoo \u003c\u003c bar; # Function call and assignation\n```\n\nGeneral use and debugging:\n```borealis\nany lib = import 'lib.bor';\n\ndebug(); # Start REPL debugger at this line\n\nIo.printLine('Goodbye!');\nexit(0);\n```\n\nFunctions:\n```borealis\nnumber fact(number n) {\n    if (n == 0) {\n        return 1;\n    }\n\n    return n * fact(n - 1);\n}\n\nfact(7); # 5040\n```\n\nTables:\n```borealis\ntable user = [\n    'name' = 'alex',\n    'age' = 23,\n];\n\nIo.printLine('Name: ' ^ user.name ^ '. Age: ' ^ user.age);\n```\n\n## Testing\n\nJust run the command: `make test`\n\nOr run the following command in your Borealis repository folder: `borealis -f ./tests/main.bor`\n\n## Documentation\n\nFirst time using it? Read the [Documentation](docs/en).\n\n## Contributing\n\nAny contribution or support to this project in the form of a pull request or message will be highly appreciated. ❤️\n\nYou can read more about the contribution process [right here](CONTRIBUTING.md). Don't be shy. :)\n\n## License\n\nBorealis is open-source software licensed under the [MIT license](LICENSE).\n","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FUsbac%2Fborealis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FUsbac%2Fborealis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FUsbac%2Fborealis/lists"}