{"id":21422031,"url":"https://github.com/c272/algo-lang","last_synced_at":"2025-07-14T08:31:02.444Z","repository":{"id":38075425,"uuid":"191582132","full_name":"c272/algo-lang","owner":"c272","description":"A versatile, mathsy programming language.","archived":false,"fork":false,"pushed_at":"2022-12-08T05:45:58.000Z","size":1203,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-08T04:13:58.846Z","etag":null,"topics":["algo","c-sharp","language","programming-language"],"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/c272.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-12T13:59:52.000Z","updated_at":"2024-03-13T17:02:45.000Z","dependencies_parsed_at":"2023-01-24T14:31:11.802Z","dependency_job_id":null,"html_url":"https://github.com/c272/algo-lang","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/c272/algo-lang","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c272%2Falgo-lang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c272%2Falgo-lang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c272%2Falgo-lang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c272%2Falgo-lang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/c272","download_url":"https://codeload.github.com/c272/algo-lang/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c272%2Falgo-lang/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265262588,"owners_count":23736422,"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":["algo","c-sharp","language","programming-language"],"created_at":"2024-11-22T20:41:42.233Z","updated_at":"2025-07-14T08:31:02.099Z","avatar_url":"https://github.com/c272.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"![algologo](logo_small.png) **v0.1.0**\n\n![license](https://img.shields.io/badge/license-MIT-blue.svg) ![issues](https://img.shields.io/github/issues/c272/algo-lang.svg) ![support](https://img.shields.io/badge/platform-c%23.net%20%3E%3D%204%2E7-lightgrey.svg) ![build](https://travis-ci.com/c272/algo-lang.svg?branch=master)\n\n*A programming language which aims to be simple, mathematical and easy to learn.*\n## Introduction\nAlgo is a programming language designed to look similar to mathematical notation that aims to provide a simple and stable set of tools.\n\nThe language is not ready for general use. If, however, you want to contribute to the standard library or language itself, feel free to fork and make a pull request, just make sure that your branch passes the unit tests. Please remember to check the pull request templates beforehand.\n\n**Plugins for Popular Text Editors:**\n* [Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=c272.Algo)\n* [Sublime Text 3](https://github.com/c272/algo-lang/tree/master/Syntax%20Highlighting/Sublime%20Text%20Package)\n\n\n## Building Algo\nTo build the interpreter for Algo, you need at least Visual Studio 2017 or higher. Since Algo uses .NET Framework, this is only compileable on Linux through the use of Mono. The actual interpreter is platform agnostic, so works on Linux, Mac and Windows.\n\n*Note: The only officially tested versions are elementary OS Loki/Juno (Ubuntu Linux \u0026 Forks) and Windows 10 Creator Update 1903+.*\n\nBuilding in \"Debug\" mode is recommended for all contributions to the update branch, but if you are using it for a personal modification, using \"Release\" is a better option, for size and compute efficiency.\n\n## How do I use this?\nIf you've built the interpreter, or downloaded a release build from the \"Releases\" tab, first add the directory you extracted `algo.exe` to into PATH, and then you can execute a file by using\n```\nalgo (filename) [--dev]\n```\nIncluding the `--dev` flag makes the interpreter print all lexed tokens, and show the parse tree before executing. After execution or errors, it will also dump the variables into console.\n\nSimply running `algo -v` in console will display your current version, including the build number and revision. **Please state your build and revision when reporting bugs in the issues section.**\n\nFor more information on language syntax and usage, see the GitHub wiki, [here.](https://github.com/c272/algo-lang/wiki)\n\n## Sample Code\nFor test samples of Algo code and workflow, see the [examples.](Examples/)\nJust to show a small snippet, here's some test code I wrote when originally drafting the language:\n\n    //Import the input library.\n    import \"io\";\n\n    //Define a function to enumerate over the string characters.\n    let printCharacters(x) = {\n\n        //Print all the characters individually.\n        foreach (i in string.toChars(x)) {\n            print i;\n        }\n\n        print \"Your string is \" + len(x) + \" characters long.\";\n    };\n\n    //Make some cool stuff happen.\n    print \"What's your name?\"\n    let name = input.get();\n    printCharacters(name);\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc272%2Falgo-lang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fc272%2Falgo-lang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc272%2Falgo-lang/lists"}