{"id":31811205,"url":"https://github.com/ezequias2d/netuno","last_synced_at":"2025-10-11T06:39:52.698Z","repository":{"id":107447588,"uuid":"493510984","full_name":"ezequias2d/netuno","owner":"ezequias2d","description":"The Netuno Programming Language (WIP)","archived":false,"fork":false,"pushed_at":"2023-11-22T19:35:17.000Z","size":400,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-11-22T20:30:56.427Z","etag":null,"topics":["language","netuno","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ezequias2d.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}},"created_at":"2022-05-18T04:43:48.000Z","updated_at":"2023-03-28T15:45:46.000Z","dependencies_parsed_at":"2023-11-22T20:41:07.786Z","dependency_job_id":null,"html_url":"https://github.com/ezequias2d/netuno","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/ezequias2d/netuno","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezequias2d%2Fnetuno","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezequias2d%2Fnetuno/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezequias2d%2Fnetuno/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezequias2d%2Fnetuno/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ezequias2d","download_url":"https://codeload.github.com/ezequias2d/netuno/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezequias2d%2Fnetuno/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006451,"owners_count":26084107,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"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":["language","netuno","programming-language"],"created_at":"2025-10-11T06:39:51.583Z","updated_at":"2025-10-11T06:39:52.693Z","avatar_url":"https://github.com/ezequias2d.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"netuno-dark.svg\"\u003e\n  \u003cimg src=\"netuno.svg\" alt=\"Netuno logo\" height=\"70\"\u003e\n\u003c/picture\u003e\n\n# The Netuno Programming Language (WIP)\n\nNetuno is a imperative, modular, functional, object-oriented, statically-typed, object-oriented programming language. It has a BASIC-like syntax, is memory-safe by default and can be easily embedded.\n\n## Sample Code\n```Ruby\nimport console\n\ndef fibonacci(n: uint): uint\n  if n == 0u =\u003e return 0u\n  if n == 1u =\u003e return 1u\n\n  return fibonacci(n - 1u) + fibonacci(n - 2u)\nend\n\ndef main()\n  var input: string\n  while (input = console.readline()) != \"exit\"\n    ; this is a line comment\n    var n = uint(input)\n    n = fibonacci(n)\n    console.write(\"Result: \" + n + \"\\n\")\n  next\n  return 0 ; ok\nend\n\n```\n\n## Compiler and Runtime\nThe repository is divided by the compiler(ntc) and the runtime(ntr).\n\n### Natch\nNatch(ntc) is the Netuno Compiler, currently supports Notable Bytecode generation.\n\nProgress\n----------\n- [x] Lexer\n- [x] Parser\n- [x] Semantic Analysis\n- [ ] Optimization\n- [ ] C codegen\n- [x] Notable Bytecode Codegen\n  - [x] Conditional\n  - [x] Loops\n  - [x] Break\n  - [x] Continue\n  - [x] Import\n  - [x] Variable\n  - [x] Module\n  - [x] Assignment\n  - [x] Expressions\n  - [x] Functions and subroutines\n  - [x] String\n  - [ ] Reference\n  - [ ] Array\n  - [ ] Custom type declaration\n  - [ ] Object methods\n\n### Nitro\nNitro(ntr) is the Netuno Runtime, it has a stack virtual machine that can runs Notable Bytecode.\n\n## Building\n### Debug Mode\nDebug trace will be enable and will print Abstract Syntax Tree in parser stage and enable VM stack debug trace.\n```\n  $ cmake -DCMAKE_BUILD_TYPE=Debug .\n  $ cmake --build .\n  $ ./bin/ntc sample.nt\n```\n\n### Release Mode\nDebug tracing is disabled and all optimizations in the C compiler are enabled.\n```\n  $ cmake -DCMAKE_BUILD_TYPE=Release .\n  $ cmake --build .\n  $ ./bin/ntc sample.nt\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fezequias2d%2Fnetuno","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fezequias2d%2Fnetuno","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fezequias2d%2Fnetuno/lists"}