{"id":25096546,"url":"https://github.com/jianxun-p/racketx","last_synced_at":"2025-09-25T11:28:23.070Z","repository":{"id":226348444,"uuid":"768430140","full_name":"jianxun-p/racketx","owner":"jianxun-p","description":"write Racket code in Rust","archived":false,"fork":false,"pushed_at":"2024-09-25T02:35:20.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T16:43:03.743Z","etag":null,"topics":["racket","rust","rust-macros","rust-proc-macro","student-project"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/jianxun-p.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":"2024-03-07T04:14:21.000Z","updated_at":"2025-01-08T17:29:16.000Z","dependencies_parsed_at":"2024-03-07T06:25:32.363Z","dependency_job_id":"f2a2a39f-9a33-4a79-ba51-4e7d06fb79fa","html_url":"https://github.com/jianxun-p/racketx","commit_stats":null,"previous_names":["jianxun-p/racketx"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jianxun-p%2Fracketx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jianxun-p%2Fracketx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jianxun-p%2Fracketx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jianxun-p%2Fracketx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jianxun-p","download_url":"https://codeload.github.com/jianxun-p/racketx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246741187,"owners_count":20826063,"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":["racket","rust","rust-macros","rust-proc-macro","student-project"],"created_at":"2025-02-07T16:40:31.964Z","updated_at":"2025-09-25T11:28:22.991Z","avatar_url":"https://github.com/jianxun-p.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# racketx\nAllows you to write Racket code in Rust. \n\n## Example\nHere is an example of using the `racket` macro.\n```rust\nuse racketx::racket;\npub fn main() {\n    racket!{\n        (define add_2_num (lambda (x y) (+ x y)))\n        (define result (add_2_num 239 (- 9)))\n    };\n    assert_eq!(result, 230);\n}\n```\n\nMore examples can be found under the `examples` directory.\n\n\n## Features\n- [x] definition of constants\n- [x] lambda\n- [x] integer operations (+, -, *, /)\n- [ ] negative integer (alternate solution: express with subtraction, e.g. `-8` would be `(- 8)`)\n- [ ] non-integer\n- [ ] conditional statements\n- [ ] lists\n- [ ] function definitions (alternate solution: use constants definition with lambda)\n- [ ] modulo arithmetic\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjianxun-p%2Fracketx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjianxun-p%2Fracketx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjianxun-p%2Fracketx/lists"}