{"id":17025406,"url":"https://github.com/florianwoelki/reflow","last_synced_at":"2025-10-19T11:02:27.984Z","repository":{"id":160297762,"uuid":"432192795","full_name":"FlorianWoelki/reflow","owner":"FlorianWoelki","description":"A custom programming language written in Go.","archived":false,"fork":false,"pushed_at":"2022-03-22T09:15:45.000Z","size":297,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-27T23:16:47.886Z","etag":null,"topics":["compiler","go","golang","interpreter","programming-language"],"latest_commit_sha":null,"homepage":"","language":"Go","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/FlorianWoelki.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":"2021-11-26T13:43:55.000Z","updated_at":"2024-12-15T11:17:44.000Z","dependencies_parsed_at":"2023-06-01T21:31:12.517Z","dependency_job_id":null,"html_url":"https://github.com/FlorianWoelki/reflow","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlorianWoelki%2Freflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlorianWoelki%2Freflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlorianWoelki%2Freflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlorianWoelki%2Freflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FlorianWoelki","download_url":"https://codeload.github.com/FlorianWoelki/reflow/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245007238,"owners_count":20546142,"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":["compiler","go","golang","interpreter","programming-language"],"created_at":"2024-10-14T07:29:05.731Z","updated_at":"2025-10-19T11:02:22.936Z","avatar_url":"https://github.com/FlorianWoelki.png","language":"Go","readme":"# reflow\n\nreflow is a custom programming languages that includes a custom built interpreter (and future compiler). This language was designed to learn more about what programming languages are and what interpreters and compilers are.\n\n## Compiler vs. Interpreter Benchmark\n\nThis table includes some programming problems and their benchmark tests using the Interpreter and Compiler. All the benchmark tests were executed on a 2020 Intel MacBook (32GB RAM, 2.3 GHz Quad-Code Intel Core i7).\n\n| Programming Problem | Interpreter (in seconds) | Compiler (in seconds) |\n| ------------------- | ------------------------ | --------------------- |\n| Calculate Fibonacci Sequence | 18.7 | 4.5 |\n\n## Compiler Packages\n\n## Interpreter Packages\n\n- `lexer`: takes source code as input and outputs tokens that represent the source code,\n- `lexer/token`: defines the tokens and useful functions to look up tokens,\n- `parser`: takes source code (in tokens) as input and produces a data structure which represents the source code,\n- `evaluator`: takes the AST and interpret it on the fly via a tree-walking interpreter without preprocessing or extra compilation,\n- `object`: value system or object representation and it represents the values it generates when evaluating the AST,\n- `repl`: read eval print loop\n\n## How to use\n\nTo get started, clone the repository by following this command:\n\n```sh\n$ git clone git@github.com:FlorianWoelki/reflow.git\n```\n\nAfter that, you can feel free to directly run the shell in `cmd/shell.go` via:\n\n```sh\ngo run cmd/shell.go\n```\n\nThis will open up the reflow shell. From there, you can experiment with the programming language itself.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflorianwoelki%2Freflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflorianwoelki%2Freflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflorianwoelki%2Freflow/lists"}