{"id":48267787,"url":"https://github.com/david-andrew/dewy-lang","last_synced_at":"2026-04-04T21:58:42.396Z","repository":{"id":46420569,"uuid":"141009909","full_name":"david-andrew/dewy-lang","owner":"david-andrew","description":"A programming language","archived":false,"fork":false,"pushed_at":"2026-03-12T23:30:07.000Z","size":36332,"stargazers_count":5,"open_issues_count":9,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-13T06:16:51.480Z","etag":null,"topics":["compiler","programming-language"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/david-andrew.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-07-15T08:13:42.000Z","updated_at":"2026-03-12T23:30:10.000Z","dependencies_parsed_at":"2023-10-11T05:49:26.129Z","dependency_job_id":"638c7a27-0e08-4b0d-9646-f7a30d0a41b5","html_url":"https://github.com/david-andrew/dewy-lang","commit_stats":null,"previous_names":["david-andrew/dewy-compiler-compiler"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/david-andrew/dewy-lang","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/david-andrew%2Fdewy-lang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/david-andrew%2Fdewy-lang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/david-andrew%2Fdewy-lang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/david-andrew%2Fdewy-lang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/david-andrew","download_url":"https://codeload.github.com/david-andrew/dewy-lang/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/david-andrew%2Fdewy-lang/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31416103,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["compiler","programming-language"],"created_at":"2026-04-04T21:58:42.330Z","updated_at":"2026-04-04T21:58:42.388Z","avatar_url":"https://github.com/david-andrew.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/david-andrew/dewy-lang/master/assets/dewy_logo_128x128.png\" alt=\"Dewy logo\" /\u003e\n\u003c/p\u003e\n\n# The Dewy Programming Language\n\nDewy is a general purpose programming language with a focus on engineering.\n\n\u003e **NOTE: Still very work in progress, and the docs (including this README) are frequently out of date!**\n\n\n## Current Status\n\n### dewy\nThe main compiler for the language is being reweritten from scratch under [src/cleanparse/](src/cleanparse)\n\n### udewy\nThe micro subset, udewy, is largely feature complete and available under [udewy/](udewy/). Currently only supports linux x86_64.\n\nA vscode extension for syntax highlighting is available at https://marketplace.visualstudio.com/items?itemName=RedFoxLabs.udewy\n\n\n## Installation\n\n### Dependancies\n\nFor now, the only dependency is **Python \u003e= 3.12** with an optional dependency on `rich` for rich printing/errors (`pip install rich`)\n\nLater (dev) dependencies will probably include [`QBE`](https://c9x.me/compile/)\n\n### Automatic\n\n```\npython install.py\n```\n\nThis should work on most linux distros with most common shells (`sh`, `bash`, `zsh`, `fish`). This script just attempts to add the lines below from the `Manual` section to your `.profile` or equivalent file, or your `.rc` file (e.g. `.bashrc`) if available.\n\nIf you don't have a `.rc` file, You will need to logout and log back in for changes to take effect. Otherwise, you can run `source ~/.rc` to apply changes, or open a new terminal.\n\n### Manual\n\n1. Add the following to your distribution/shell's corresponding `.profile` or `.rc` file:\n\n   ```\n   if [ -d \"/home/user/path/to/dewy-lang\" ]; then\n     PATH=\"/home/user/path/to/dewy-lang:$PATH\"\n   fi\n   ```\n\n   \u003e Note: Be sure to adjust the path in the command to match the current absolute path of **this** repo\n\n   \u003e Note: If modifying `.profile`, you must logout, and log back in for changes to take effect.\n   \u003e If modifying a `.rc` file (e.g. `.bashrc`), then either run `source path/to/.rc` to apply changes, or open a new terminal\n\n## Try it out\n\n\u003e Note that the language parser is largely incomplete, and there are very many different syntaxes that will get trapped at breakpoints marking TODO, or cause exceptions for `NotImplementedError`\n\nIf you completed the install steps, you can simply run:\n\n```\ndewy my_script.dewy\n```\n\notherwise you can run the python script directly\n\n```\npython -m src.frontend ../path/to/my_script.dewy\n```\n\n### Examples\n\nSeveral example programs are available in [examples/](examples/). Here is a breakdown of which ones work with the current progress:\n\n| Filename                                                        | status |\n| --------------------------------------------------------------- | ------ |\n| [hello.dewy](examples/hello.dewy)                               | [✓]    |\n| [hello_func.dewy](examples/hello_func.dewy)                     | [✓]    |\n| [hello_name.dewy](examples/hello_name.dewy)                     | [✓]    |\n| [hello_loop.dewy](examples/hello_loop.dewy)                     | [✓]    |\n| [anonymous_func.dewy](examples/anonymous_func.dewy)             | [✓]    |\n| [if_else.dewy](examples/if_else.dewy)                           | [✓]    |\n| [if_else_if.dewy](examples/if_else_if.dewy)                     | [✓]    |\n| [dangling_else.dewy](examples/dangling_else.dewy)               | [✓]    |\n| [if_tree.dewy](examples/if_tree.dewy)                           | [✓]    |\n| [loop_in_iter.dewy](examples/loop_in_iter.dewy)                 | [✓]    |\n| [loop_and_iters.dewy](examples/loop_and_iters.dewy)             | [✓]    |\n| [enumerate_list.dewy](examples/enumerate_list.dewy)             | [✓]    |\n| [loop_or_iters.dewy](examples/loop_or_iters.dewy)               | [✓]    |\n| [nested_loop.dewy](examples/nested_loop.dewy)                   | [✓]    |\n| [block_printing.dewy](examples/block_printing.dewy)             | [✓]    |\n| [row_vs_col.dewy](examples/row_vs_col.dewy)                     | [✗]    |\n| [tensors.dewy](examples/tensors.dewy)                           | [✗]    |\n| [arrays.dewy](examples/arrays.dewy)                             | [✗]    |\n| [objects.dewy](examples/objects.dewy)                           | [✓]    |\n| [unpack_array.dewy](examples/unpack_array.dewy)                 | [✓]    |\n| [unpack_dict.dewy](examples/unpack_dict.dewy)                   | [✓]    |\n| [unpack_object.dewy](examples/unpack_object.dewy)               | [✗]    |\n| [declare.dewy](examples/declare.dewy)                           | [✗]    |\n| [loop_iter_manual.dewy](examples/loop_iter_manual.dewy)         | [✗]    |\n| [range_iter_test.dewy](examples/range_iter_test.dewy)           | [✗]    |\n| [functions.dewy](examples/functions.dewy)                       | [✓]    |\n| [partial_functions.dewy](examples/partial_functions.dewy)       | [✓]    |\n| [closure.dewy](examples/closure.dewy)                           | [✓]    |\n| [function_signatures.dewy](examples/function_signatures.dewy)   | [✓]    |\n| [opchains.dewy](examples/opchains.dewy)                         | [✓]    |\n| [ops.dewy](examples/ops.dewy)                                   | [✗]    |\n| [shebang.dewy](examples/shebang.dewy)                           | [✗]    |\n| [fizzbuzz-1.dewy](examples/fizzbuzz-1.dewy)                     | [✓]    |\n| [fizzbuzz0.dewy](examples/fizzbuzz0.dewy)                       | [✓]    |\n| [fizzbuzz1.dewy](examples/fizzbuzz1.dewy)                       | [✗]    |\n| [random.dewy](examples/random.dewy)                             | [✓]    |\n| [primes.dewy](examples/primes.dewy)                             | [✓]    |\n| [primes2.dewy](examples/primes2.dewy)                           | [✗]    |\n| [mdbook_preprocessor.dewy](docs/plugins/src_to_iframe.dewy)     | [✗]    |\n| [fast_inverse_sqrt.dewy](examples/fast_inverse_sqrt.dewy)       | [✗]    |\n| [rule110.dewy](examples/rule110.dewy)                           | [✗]    |\n| [dewy_syntax_examples.dewy](examples/dewy_syntax_examples.dewy) | [✗]    |\n| [syntax.dewy](examples/syntax.dewy)                             | [✗]    |\n| [tokenizer.dewy](examples/tokenizer.dewy)                       | [✗]    |\n\n## Documentation\n\nCurrently out of date documentation is available at: https://david-andrew.github.io/dewy-lang/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavid-andrew%2Fdewy-lang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavid-andrew%2Fdewy-lang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavid-andrew%2Fdewy-lang/lists"}