{"id":15422189,"url":"https://github.com/lucivpav/mila","last_synced_at":"2025-04-19T15:10:11.769Z","repository":{"id":88796168,"uuid":"62563697","full_name":"lucivpav/mila","owner":"lucivpav","description":"A simple procedural and imperative language.","archived":false,"fork":false,"pushed_at":"2021-11-07T12:27:55.000Z","size":45,"stargazers_count":5,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T09:11:40.757Z","etag":null,"topics":["compiler","llvm","pascal"],"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/lucivpav.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":"2016-07-04T13:19:42.000Z","updated_at":"2022-04-06T20:36:53.000Z","dependencies_parsed_at":"2023-06-12T15:45:18.510Z","dependency_job_id":null,"html_url":"https://github.com/lucivpav/mila","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"aa0e2d7b685a54d8dac25b95db7d4f5217b6b597"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucivpav%2Fmila","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucivpav%2Fmila/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucivpav%2Fmila/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucivpav%2Fmila/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucivpav","download_url":"https://codeload.github.com/lucivpav/mila/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249722838,"owners_count":21315893,"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","llvm","pascal"],"created_at":"2024-10-01T17:37:13.994Z","updated_at":"2025-04-19T15:10:11.752Z","avatar_url":"https://github.com/lucivpav.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mila\n[![Build Status](https://travis-ci.org/lucivpav/mila.svg?branch=master)](https://travis-ci.org/lucivpav/mila)\n\nA simple procedural and imperative language.\n\n### Features ###\nIntegers (decimal, hexadecimal, octal form), arrays, variables (local, global), constants, input/output, control flow, loops, blocks,\nprocedures, functions, exit, recursion.\n\n### Syntax ###\nMila aims to be compatible with Pascal syntax. Due to a few extensions however, a program written in Mila is not guaranteed to be compatible with Pascal syntax.\nWhen unsure about syntax of some construct in Mila, searching the same for Pascal will be helpful enough most of the time.\n\n### Example ###\n```Bash\n$ cat factorial.mila\n```\n```Pascal\nvar\n  n, f: integer;\nbegin\n  n := 5;\n  f := 1;\n  while n \u003e= 2 do\n  begin\n    f := f * n;\n    dec(n);\n  end;\n  writeln(f);\nend.\n```\n```Bash\n$ mila factorial.mila # create executable program\n$ ./a.out\n```\n```Bash\n120\n```\n[More sample programs](tests/program)\n\n### Precompiled binaries ###\n[Releases](https://github.com/lucivpav/mila/releases)\n\n### Building from source ###\n```Bash\nsh build.sh\n```\nMila binary can be found in\n```Bash\nllvm-obj/Release+Asserts/examples\n```\n### Runnings tests ###\n```Bash\ncd tests\n./run.py\n```\n### License ###\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucivpav%2Fmila","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucivpav%2Fmila","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucivpav%2Fmila/lists"}