{"id":16386293,"url":"https://github.com/tmcw/wah","last_synced_at":"2025-03-16T16:30:56.988Z","repository":{"id":66155167,"uuid":"91038318","full_name":"tmcw/wah","owner":"tmcw","description":"a slightly higher-level language superset of webassembly","archived":false,"fork":false,"pushed_at":"2019-07-28T06:34:53.000Z","size":41,"stargazers_count":158,"open_issues_count":0,"forks_count":8,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-10-12T04:16:49.296Z","etag":null,"topics":["clojure","compiler","webassembly"],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tmcw.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2017-05-12T01:29:20.000Z","updated_at":"2024-05-31T07:44:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"1ee08185-ea0a-4966-9f8d-a7a58ba7d63a","html_url":"https://github.com/tmcw/wah","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/tmcw%2Fwah","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmcw%2Fwah/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmcw%2Fwah/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmcw%2Fwah/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmcw","download_url":"https://codeload.github.com/tmcw/wah/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221665852,"owners_count":16860320,"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":["clojure","compiler","webassembly"],"created_at":"2024-10-11T04:16:51.564Z","updated_at":"2024-10-27T10:54:50.354Z","avatar_url":"https://github.com/tmcw.png","language":"Clojure","funding_links":[],"categories":["Languages"],"sub_categories":["WASM-like"],"readme":"# wah\n\n[![CircleCI](https://circleci.com/gh/tmcw/wah.svg?style=shield)](https://circleci.com/gh/tmcw/wah) [![Clojars Project](https://img.shields.io/clojars/v/wah.svg)](https://clojars.org/wah)\n\nShortcuts for wasm\n\n| wah       | wasm                                      |\n|---------------|-------------------------------------------|\n| `(0 = 1)`     | `(set_local 0 (i32.const 1))`             |\n| `(%$a + %$b)` | `(f64.add (get_local $a) (get_local $b))` |\n| `(0 + 1)` | `(i32.add (i32.const 0) (i32.const 1))` |\n| `(0.0 + 1.0)` | `(f64.add (f64.const 0) (f64.const 1))` |\n\n* Adds infix operators: `*, +, -, /, ==, \u003e, \u003c, \u003e=, \u003c=`\n* Supports (0 = 1) shortcut for `set_local`\n* Supports bare numbers that become f64.const if they have a decimal point, and\n  i32.const if they don't.\n* Supports type inference by walking up the tree, paying attention to param\n  and local types.\n\n## [Introduction](doc/intro.md)\n\n## [Flow](doc/flow.txt)\n\n## [Rationale](doc/rationale.md)\n\n## [Planning](doc/planning.md)\n\n## Contributing \u0026 open source\n\nThis is a PR-only repository: there's no issue tracker.\n\n* To report a bug, open a PR with a failing testcase\n* To propose a feature, open a PR with a failing testcase or an initial implementation\n\nI'll be overjoyed to review \u0026 merge PRs!\n\n## License\n\nCopyright © 2017 Tom MacWright\n\nDistributed under the Eclipse Public License either version 1.0 or (at\nyour option) any later version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmcw%2Fwah","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmcw%2Fwah","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmcw%2Fwah/lists"}