{"id":16123491,"url":"https://github.com/jlchntoz/katana","last_synced_at":"2025-04-06T12:16:16.830Z","repository":{"id":70970099,"uuid":"186169830","full_name":"JLChnToZ/Katana","owner":"JLChnToZ","description":"Katana is a newly designed light-weight programming language","archived":false,"fork":false,"pushed_at":"2019-05-31T09:43:48.000Z","size":106,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-12T17:52:22.887Z","etag":null,"topics":["data-structures","esolang","interpreter","programming-language"],"latest_commit_sha":null,"homepage":null,"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/JLChnToZ.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":"2019-05-11T18:43:13.000Z","updated_at":"2019-05-31T09:43:50.000Z","dependencies_parsed_at":"2023-04-08T07:02:10.866Z","dependency_job_id":null,"html_url":"https://github.com/JLChnToZ/Katana","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/JLChnToZ%2FKatana","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JLChnToZ%2FKatana/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JLChnToZ%2FKatana/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JLChnToZ%2FKatana/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JLChnToZ","download_url":"https://codeload.github.com/JLChnToZ/Katana/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247478330,"owners_count":20945267,"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":["data-structures","esolang","interpreter","programming-language"],"created_at":"2024-10-09T21:16:56.070Z","updated_at":"2025-04-06T12:16:16.767Z","avatar_url":"https://github.com/JLChnToZ.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"Katana\n======\nKatana is a newly-designed light-weight programming language and also a tree data structure expression. It aims to keep the parser simple, and highly inspired S-Expression, M-Expression and JSON format.\n\nThe parser, encoder and runner in this repository is still in early development and not ready for use.\n\nExample\n-------\nThe language itself is look like this, somewhat looks like a mixture of LISP and JavaScript:\n```\n$(\n  function(factorial, (x), $(\n    =(c, 1),\n    =(y, 1),\n    while(\u003c=(@(c), @(x)), $(\n      =(y, *(@(y), @(c))),\n      =(c, +(@(c), 1))\n    )),\n    return(@(y))\n  )),\n  print(Please enter the number),\n  readNumber(number),\n  =(number, 10),\n  =(result, factorial(@(number))),\n  print(format(factorial of %d: %d, @(number), @(result)))\n)\n```\n\nThis expression can be used to represent a tree structure too:\n```\nroot(\n  child(\n    another child,\n    hello!\n  ),\n  3.1415,\n  false,\n  nil\n)\n```\n\nLicense\n-------\n[MIT](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlchntoz%2Fkatana","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjlchntoz%2Fkatana","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlchntoz%2Fkatana/lists"}