{"id":17736564,"url":"https://github.com/toshimaru/metal-beta","last_synced_at":"2026-01-08T19:13:54.535Z","repository":{"id":25259156,"uuid":"28684297","full_name":"toshimaru/metal-beta","owner":"toshimaru","description":"Programming language Metal, just an idea. No imprementation","archived":false,"fork":false,"pushed_at":"2015-01-07T16:02:53.000Z","size":124,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-14T18:22:24.575Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"icebob/vue-websocket","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toshimaru.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":"2015-01-01T09:57:32.000Z","updated_at":"2024-04-14T18:22:24.575Z","dependencies_parsed_at":"2022-07-10T12:01:03.041Z","dependency_job_id":null,"html_url":"https://github.com/toshimaru/metal-beta","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/toshimaru%2Fmetal-beta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshimaru%2Fmetal-beta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshimaru%2Fmetal-beta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshimaru%2Fmetal-beta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toshimaru","download_url":"https://codeload.github.com/toshimaru/metal-beta/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246523847,"owners_count":20791444,"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":[],"created_at":"2024-10-26T00:23:28.186Z","updated_at":"2026-01-08T19:13:54.497Z","avatar_url":"https://github.com/toshimaru.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Metal\n\nProgramming language Metal, just a idea, no imprementation.\n\nInspired by Ruby, Python, CoffeeScript.\n\nVariable\n-----\n\n```\na = 1\nb = 3\nc = a + b\n```\n\nComment out\n-----\n\n```\n# this is one-line comment\n```\n\n```\n###\nMultiple comment\n###\n```\n\nArray\n-----\n\n```\nary = ['a', 1, 'bcd', 234]\n```\n\nHash\n-----\n\n```\nhash = {foo: 'bar', nyan: 'cat'}\n```\n\nBlock expression\n-----\n\nUse `{}`(curly brace).\n\n```\nif true {\n  p 'true'\n}\n```\n\nPrint\n----\n\n```\nprint 1 # =\u003e 1\nputs 1 # =\u003e 1 (one line)\n```\n\nFunction\n-----\n\n```\nsquare = (a) -\u003e {\n  return a * a\n}\n```\n\n```\nhello = (name = 'anonymous') -\u003e {\n  puts \"Hello, #{name}!\"\n}\n```\n\nClass\n-----\n\n```\nclass Foo {\n  square(a) -\u003e {\n    \"public method\"\n  }\n\n  __private -\u003e {\n    'private method'\n  }\n\n  _protected_method -\u003e {\n    'protected method'\n  }\n}\n```\n\nInheritance\n-----\n\n```\nClass Foo \u003c Bar {\n}\n```\n\nRequire\n-----\n\n```\nrequire 'hoge'\n```\n\nInclude\n-----\n\n```\nClass Foo {\n  include Enumerablek\n}\n```\n\nCondition\n-----\n\n```\nif a == true {\n  # true\n} elif a == 2 {\n  # else if\n} else {\n  # otherwise\n}\n\nb = 1 if a == true\n```\n\nOther Ideas\n---\n* [Toml](https://github.com/toml-lang/toml) configuration\n* Go implementation (ref. [anko](https://github.com/mattn/anko))\n  * [mruby](https://github.com/mruby/mruby)\n  * [streem](https://github.com/matz/streem)\n* Exception?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoshimaru%2Fmetal-beta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoshimaru%2Fmetal-beta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoshimaru%2Fmetal-beta/lists"}