{"id":22912722,"url":"https://github.com/isaacwoods/roo","last_synced_at":"2025-05-09T02:10:43.191Z","repository":{"id":56754615,"uuid":"62460779","full_name":"IsaacWoods/Roo","owner":"IsaacWoods","description":"Little toy programming language with an x86_64 code generator","archived":false,"fork":false,"pushed_at":"2017-09-30T14:12:22.000Z","size":2533,"stargazers_count":17,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-31T21:20:05.171Z","etag":null,"topics":["language","programming-language","roo","type-safety","type-system"],"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/IsaacWoods.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-02T16:50:48.000Z","updated_at":"2024-05-29T02:06:56.000Z","dependencies_parsed_at":"2022-08-16T01:40:46.781Z","dependency_job_id":null,"html_url":"https://github.com/IsaacWoods/Roo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IsaacWoods%2FRoo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IsaacWoods%2FRoo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IsaacWoods%2FRoo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IsaacWoods%2FRoo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IsaacWoods","download_url":"https://codeload.github.com/IsaacWoods/Roo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253176445,"owners_count":21866143,"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-language","roo","type-safety","type-system"],"created_at":"2024-12-14T04:29:41.392Z","updated_at":"2025-05-09T02:10:43.120Z","avatar_url":"https://github.com/IsaacWoods.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Roo\n[![Build Status](https://travis-ci.org/IsaacWoods/Roo.svg?branch=master)](https://travis-ci.org/IsaacWoods/Roo)\n\nRoo is a imperitive programming language that takes concepts from functional programming. Its central goal\nis to avoid the kitchen-sink-esque hodgepodge of languages like C++, instead expressing logic through fewer, more powerful\nfeatures.\n\n### Aims\n* No separation of definition and implementation (no headers)\n* Easier build process - nice source and dependency management\n* Safety - strong type-checking and powerful expression of programmer intent\n* Terse, expressive syntax - no extranious punctuation\n\nIt looks something like this:\n``` roo\n#[Name(example)]\n\nimport Prelude\n\ntype color\n{\n  r : float\n  g : float\n  b : float\n  a : float\n}\n\nfn PrintColor(color : color\u0026)\n{\n  PrintFmt(\"Color: ({}, {}, {}, {})\\n\", color.r, color.g, color.b, color.a)\n}\n\n#[Entry]\nfn Main() -\u003e int\n{\n  #[Debug]\n  Print(\"Hello, World!\\n\")\n\n  // Make and print a color\n  myColor : color{1.0f, 0.0f, 1.0f, 1.0f}\n  PrintColor(myColor)\n\n  return 0\n}\n```\n\n### Using the compiler\n* At the moment, The compiler can only produce executables usable on x86_64, System-V, ELF-compatible systems\n* (Temporary step) Run `make prelude` to build `Prelude` (our standard library)\n* Run `./roo` to compile and link all the files in the current directory\n* Various DOT files will also be produced, which may be converted to PNG with `dot -Tpng -o {file}.png {file}.dot`\n\n### Contributing\nContributions are welcome. Current tasks and long-term goals can be found on the [Trello](https://trello.com/b/zxHvpzTz/roo). Please keep to the style of the existing code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisaacwoods%2Froo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisaacwoods%2Froo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisaacwoods%2Froo/lists"}