{"id":19518900,"url":"https://github.com/jiink/peanut-compiler","last_synced_at":"2026-06-19T05:31:20.670Z","repository":{"id":191947862,"uuid":"685740811","full_name":"jiink/peanut-compiler","owner":"jiink","description":"Compiler project for CPSC 323-03 of Fall 2023 with Choi","archived":false,"fork":false,"pushed_at":"2023-12-07T05:40:16.000Z","size":1307,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T00:14:59.020Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jiink.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}},"created_at":"2023-08-31T22:50:29.000Z","updated_at":"2023-09-15T03:20:46.000Z","dependencies_parsed_at":"2023-12-04T21:46:53.351Z","dependency_job_id":null,"html_url":"https://github.com/jiink/peanut-compiler","commit_stats":null,"previous_names":["jiink/peanut-compiler"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jiink/peanut-compiler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiink%2Fpeanut-compiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiink%2Fpeanut-compiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiink%2Fpeanut-compiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiink%2Fpeanut-compiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jiink","download_url":"https://codeload.github.com/jiink/peanut-compiler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiink%2Fpeanut-compiler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34519048,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-11T00:15:04.296Z","updated_at":"2026-06-19T05:31:20.654Z","avatar_url":"https://github.com/jiink.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Peanut Compiler\n\nThis is our compiler project for CPSC 323-03 of Fall 2023 with Choi. By the end of the semester, this should be able to compile Rat23F programs.\n\nIt's called the Peanut Compiler because both rats and gophers can eat peanuts.\n\n## Current state\n\nAssignment 3 - object code generation\n\n## Quick start development\n\n### Windows\n\n1. Download and install Go from https://go.dev/dl/\n1. Clone the repository\n1. Edit code (the _.go_ files) in src\\\n1. Use the command `go run .` to run/debug the project.\n    - You will likely need to provide a file as an argument, for example `go run . \"tests\\test.rat\"`\n\n### Building an exe\n\n1. In the command prompt, navigate to the _src_ directory.\n1. Run `go build .`\n1. Observe the creation of _peanut-compiler.exe_\n\n## Resources\n\nLearning Go: https://go.dev/tour/list\n\nLexical Scanning in Go: https://go.dev/talks/2011/lex.slide#1\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiink%2Fpeanut-compiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjiink%2Fpeanut-compiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiink%2Fpeanut-compiler/lists"}