{"id":30041499,"url":"https://github.com/rsms/dew","last_synced_at":"2025-08-07T02:48:52.292Z","repository":{"id":273144227,"uuid":"918824767","full_name":"rsms/dew","owner":"rsms","description":"Dew is a little programming language which targets the Lua virtual machine","archived":false,"fork":false,"pushed_at":"2025-07-14T01:22:12.000Z","size":2201,"stargazers_count":25,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-21T23:50:33.304Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rsms.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2025-01-19T00:15:58.000Z","updated_at":"2025-07-14T01:22:16.000Z","dependencies_parsed_at":"2025-02-05T02:36:30.874Z","dependency_job_id":"e18fed85-761f-4210-8aae-a5212e8cf0ff","html_url":"https://github.com/rsms/dew","commit_stats":null,"previous_names":["rsms/dew"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rsms/dew","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsms%2Fdew","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsms%2Fdew/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsms%2Fdew/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsms%2Fdew/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rsms","download_url":"https://codeload.github.com/rsms/dew/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsms%2Fdew/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269189881,"owners_count":24375570,"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-08-07T02:00:09.698Z","response_time":73,"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":[],"created_at":"2025-08-07T02:48:49.975Z","updated_at":"2025-08-07T02:48:52.265Z","avatar_url":"https://github.com/rsms.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Dew is a little programming language which targets the Lua virtual machine.\n\n\n## Language\n\n### Examples\n\n```\n1 + (2 + 3) * (4 - 5)\nfun f\nfun f(x, y int)\nfun f(x, y int) int\nfun f(x, y int) int, int\nfun f(x, y int) (int, int)\nfun ♥︎(x, y, z int) int, int {\n\treturn x + y*z\n}\n```\n\n### Operators\n\n\t+    \u0026     +=    \u0026=     \u0026\u0026    ==    !=    (    )\n\t-    |     -=    |=     ||    \u003c     \u003c=    [    ]\n\t*    ^     *=    ^=     \u003c-    \u003e     \u003e=    {    }\n\t/    \u003c\u003c    /=    \u003c\u003c=    ++    =     :=    ,    ;\n\t%    \u003e\u003e    %=    \u003e\u003e=    --    !     ...   .    :\n\t~\n\n#### Operator precedence\n\nBinary operators of the same precedence associate from left to right.\nE.g. `x / y * z` is the same as `(x / y) * z`.\n\n\t7  .\n\t6  ++  --  +  -  !  ~  *  \u0026  ?\n\t5  *  /  %  \u003c\u003c  \u003e\u003e  \u0026\n\t4  +  -  |  ^\n\t3  ==  !=  \u003c  \u003c=  \u003e  \u003e=\n\t2  \u0026\u0026\n\t1  ||\n\t0  ,\n\n\n## Building dew\n\n```\nmake \u0026\u0026 o.*/dew examples/hello.dew\n```\n\nRequirements:\n\n- C17 compiler (tested with clang 17)\n- GNU Make\n- curl for wasm build\n\nVarious ways to build:\n\n- `make` — release build for host system\n- `make DEBUG=1` — debug build for host system\n- `make TARGET=web` — release build for web platform\n- `make TARGET=web DEBUG=1` — debug build for web platform\n- `make test` — build \u0026 run tests\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsms%2Fdew","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frsms%2Fdew","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsms%2Fdew/lists"}