{"id":45863828,"url":"https://github.com/hunter-hongg/miva-lang","last_synced_at":"2026-07-04T07:00:47.415Z","repository":{"id":339097260,"uuid":"1157143207","full_name":"hunter-hongg/miva-lang","owner":"hunter-hongg","description":"Miva: Memory-safe, Verifiable, Predictable. A systems language that’s simpler than Rust, safer than Go, faster than Python. Building a safe, zero-cost systems language with explicit ownership and no GC. Compiles to C++.","archived":false,"fork":false,"pushed_at":"2026-04-19T13:34:49.000Z","size":5221,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-19T15:32:14.254Z","etag":null,"topics":["compiler","explicit","memory-safe","no-gc","programming-language","rust-inspired","system-programming","systems-programming"],"latest_commit_sha":null,"homepage":"","language":"OCaml","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/hunter-hongg.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-02-13T13:36:01.000Z","updated_at":"2026-04-19T13:34:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/hunter-hongg/miva-lang","commit_stats":null,"previous_names":["hunter-hongg/mvp-lang","hunter-hongg/miva-lang"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/hunter-hongg/miva-lang","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunter-hongg%2Fmiva-lang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunter-hongg%2Fmiva-lang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunter-hongg%2Fmiva-lang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunter-hongg%2Fmiva-lang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hunter-hongg","download_url":"https://codeload.github.com/hunter-hongg/miva-lang/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunter-hongg%2Fmiva-lang/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35112708,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-04T02:00:05.987Z","response_time":113,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","explicit","memory-safe","no-gc","programming-language","rust-inspired","system-programming","systems-programming"],"created_at":"2026-02-27T07:30:59.573Z","updated_at":"2026-07-04T07:00:47.410Z","avatar_url":"https://github.com/hunter-hongg.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Miva Programming Language Compiler\n\nThe Miva compiler - a full-stack compiler that parses Miva source code and compiles it to native binaries via C++.\n\n## Build\n\n```bash\ncargo build --release\n```\n\n## Usage\n\n### Init project\n\n```bash\ncargo run -- --init\n```\n\n### Build\n\n```bash\ncargo run -- --build --release\n```\n\n### Run\n\n```bash\ncargo run -- --run --release\n```\n\n### Test\n\n```bash\ncargo run -- --test test_hello.miva\n```\n\n### Clean\n\n```bash\ncargo run -- --clean\n```\n\n## Language\n\nThe Miva language is compiled to C++ code, which is then compiled to native machine code using g++.\n\n### Type system\n\n- `int`\n- `float32`\n- `float64`\n- `bool`\n- `string`\n- `char`\n- `array\u003cT\u003e`\n- `ptr\u003cT\u003e`\n- `box\u003cT\u003e`\n- `null`\n- `ptrany`\n\n### Safety levels\n\n- `safe` - safe by default\n- `unsafe` - requires explicit declaration\n- `trusted` - special function that bypasses safety checks\n\n### Example\n\n```miva\n// main.miva\nexport func main() -\u003e int {\n    let x: int = 10\n    let y: int = 20\n    return x + y\n}\n```\n\nBuild and run:\n\n```bash\ncargo run -- --build --release\ncargo run -- --run --release\n```\n\n## Architecture\n\n- Miva source → AST → Symbol Table → Semantic Analysis → Type Checking →\n  Macro Expansion → C++ Header → C++ Source → g++ → Object Files → Link → Native Binary\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhunter-hongg%2Fmiva-lang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhunter-hongg%2Fmiva-lang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhunter-hongg%2Fmiva-lang/lists"}