{"id":16938773,"url":"https://github.com/megaing/f","last_synced_at":"2025-04-11T19:20:16.205Z","repository":{"id":130790836,"uuid":"150833346","full_name":"MegaIng/F","owner":"MegaIng","description":"An Implementation of F by @ac1235 (https://ac1235.github.io/f.html)","archived":false,"fork":false,"pushed_at":"2019-03-10T23:02:50.000Z","size":55,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T15:11:43.134Z","etag":null,"topics":["f","language","python-3"],"latest_commit_sha":null,"homepage":"","language":"Python","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/MegaIng.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":"2018-09-29T06:38:55.000Z","updated_at":"2022-05-01T00:20:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"376f9524-150f-41f8-8382-e8346ade0f14","html_url":"https://github.com/MegaIng/F","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/MegaIng%2FF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MegaIng%2FF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MegaIng%2FF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MegaIng%2FF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MegaIng","download_url":"https://codeload.github.com/MegaIng/F/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248465348,"owners_count":21108244,"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":["f","language","python-3"],"created_at":"2024-10-13T21:02:30.943Z","updated_at":"2025-04-11T19:20:16.199Z","avatar_url":"https://github.com/MegaIng.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# F\nAn Implementation of F by @ac1235 (https://ac1235.github.io/f.html)\n\n## Implementation Details\n\n* Syntax completely like in the documentation by @ac1235 (All of his example can be parsed and executed)\n* Numbers are always the `Decimal` type from python.\n* Strings have (almost) C-like escaping and are written between `\"`\n* Variadic Value Syntax, allowing for List unpacking (`...(\u003cList-Value\u003e)`)\n\n## How to use\n\n* install the latest version of [python 3 (at least 3.7)](https://www.python.org/downloads/)\n* execute `pip install lark-parser`\n\n### `f.py`\n \n `f [-h] [-m {a,i,c}] [program] argv*`\n \n * `program` selects the file to be run. If not present, will start a REPL.\n * `-m`/`--mode` selects a mode on ho to handle the input\n   * `a`/`ast` chooses the to ast compiler. The default\n   * `i`/`interpreter` chooses the interpreter. The slowest option. Should get extended with a debugger\n   * `c`/`compiler` chooses the to C compiler. Can not run a REPL or take argvs, but generates a executable (currently only on windows correctly)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmegaing%2Ff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmegaing%2Ff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmegaing%2Ff/lists"}