{"id":19297236,"url":"https://github.com/darius/wren","last_synced_at":"2025-04-22T08:31:23.028Z","repository":{"id":422322,"uuid":"42234","full_name":"darius/wren","owner":"darius","description":"Language with a bytecode compiler that can run on computers with only a few kB of RAM.","archived":false,"fork":false,"pushed_at":"2010-11-30T18:50:29.000Z","size":120,"stargazers_count":62,"open_issues_count":2,"forks_count":7,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-11-09T23:02:25.620Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","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/darius.png","metadata":{"files":{"readme":"README","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":"2008-08-13T07:19:57.000Z","updated_at":"2024-10-20T17:59:26.000Z","dependencies_parsed_at":"2022-07-08T01:50:33.044Z","dependency_job_id":null,"html_url":"https://github.com/darius/wren","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/darius%2Fwren","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darius%2Fwren/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darius%2Fwren/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darius%2Fwren/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darius","download_url":"https://codeload.github.com/darius/wren/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250206177,"owners_count":21392204,"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-11-09T23:01:48.941Z","updated_at":"2025-04-22T08:31:20.096Z","avatar_url":"https://github.com/darius.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"Quick start:\n\n1. Edit the configuration defs at the top of wren.c. It's currently\n   configured for a little-endian machine. I know, it shouldn't be\n   necessary.\n\n2. make\n\n3. ./check-examples\n\n5. ./build\n   (This makes a stripped executable optimized for size.)\n\n4. ./benchmark\n   Notice how much faster it is than Python! Gee whiz.\n\n6. Look over the examples file to get an idea what you can do.\n   (It was mainly written as a basic testsuite though.)\n\n7. Look over TODO to see all the stuff not done.\n\nOne thing that's probably not obvious is that you can define arrays\nor other dynamic datastructures in a Wren program. The thing is, you\nhave to use peek and poke. But you can allocate the space for it so\nthe interpreter doesn't step all over it, by incrementing the 'cp'\nvariable (short for compiler_ptr, its name at the C level). Same \nbasic idea as ALLOT in Forth: get the current value of cp as the \nstarting address for your data structure, then increment cp by its\nsize.\n\nHave fun!\n\n\nCopyright (c) 2007 Darius Bacon \u003cdarius@wry.me\u003e\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarius%2Fwren","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarius%2Fwren","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarius%2Fwren/lists"}