{"id":19297284,"url":"https://github.com/2bt/minilang","last_synced_at":"2025-05-07T22:43:39.177Z","repository":{"id":2738833,"uuid":"3734604","full_name":"2bt/minilang","owner":"2bt","description":"Bootstrapped compiler of a C-like but Python-looking language","archived":false,"fork":false,"pushed_at":"2017-12-21T11:24:39.000Z","size":29,"stargazers_count":47,"open_issues_count":0,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-31T15:00:00.271Z","etag":null,"topics":["compiler","x86-64"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/2bt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-03-16T01:06:09.000Z","updated_at":"2024-10-05T13:43:32.000Z","dependencies_parsed_at":"2022-09-10T03:23:18.705Z","dependency_job_id":null,"html_url":"https://github.com/2bt/minilang","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/2bt%2Fminilang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2bt%2Fminilang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2bt%2Fminilang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2bt%2Fminilang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2bt","download_url":"https://codeload.github.com/2bt/minilang/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252967973,"owners_count":21833245,"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":["compiler","x86-64"],"created_at":"2024-11-09T23:01:50.377Z","updated_at":"2025-05-07T22:43:39.159Z","avatar_url":"https://github.com/2bt.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# minilang\n\nInspired by [BASICO](http://www.andreadrian.de/tbng/index.html), minilang is a\nlittle programming language. My intention was to keep the implementation brief,\nyet readable. It is bootstrapped, thus proving to be reasonably expressive. The\ncompiler outputs x86-64 ASM code.  Similar to Python, code blocks are formed\nvia indentation. There is no type checking whatsoever, so be careful.  Please,\nlook into `minilang.mini` and you will quickly get the idea.  Obligatorily,\nhere is your first programme:\n\n\tmain():puts(\"Hello, world!\")\n\nCompile the throwaway compiler:\n\n\t$ c99 minilang.c -o minilang\n\nBootstrap thus:\n\n\t$ ./minilang minilang.mini minilang.s       # compile with throwaway compiler\n\t$ gcc minilang.s -o minilang_jr             # GCC assembles the executable\n\t$ ./minilang_jr minilang.mini minilang_jr.s # compile with bootstrapped compiler\n\t$ diff minilang.s minilang_jr.s             # compare output -\u003e equal\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2bt%2Fminilang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F2bt%2Fminilang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2bt%2Fminilang/lists"}