{"id":15994548,"url":"https://github.com/hawkw/mipscodegeneration","last_synced_at":"2025-04-05T00:16:42.414Z","repository":{"id":12402784,"uuid":"15056049","full_name":"hawkw/MIPSCodeGeneration","owner":"hawkw","description":"Experiments with code generation in C and MIPS. Currently targeting the MARSBot graphics turtle that ships with MARS4.4, may later add code generation for other applications.","archived":false,"fork":false,"pushed_at":"2013-12-12T01:36:46.000Z","size":268,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T08:32:24.241Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Assembly","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hawkw.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}},"created_at":"2013-12-09T18:55:36.000Z","updated_at":"2013-12-12T01:36:47.000Z","dependencies_parsed_at":"2022-09-23T06:21:55.283Z","dependency_job_id":null,"html_url":"https://github.com/hawkw/MIPSCodeGeneration","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/hawkw%2FMIPSCodeGeneration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hawkw%2FMIPSCodeGeneration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hawkw%2FMIPSCodeGeneration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hawkw%2FMIPSCodeGeneration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hawkw","download_url":"https://codeload.github.com/hawkw/MIPSCodeGeneration/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247266567,"owners_count":20910837,"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-10-08T07:09:18.798Z","updated_at":"2025-04-05T00:16:42.399Z","avatar_url":"https://github.com/hawkw.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MIPSCodeGeneration\n\n![Image of Nathaniel trapped inside a computer](http://i.imgur.com/azol0t9.png \"Image of Nathaniel trapped inside a computer\")\n\nExperiments with code generation in C and MIPS. Currently targeting the MARSBot graphics turtle that ships with MARS4.4, may later add code generation for other applications.\n\nPython code ~~may find~~ has found its way into the repo ~~later~~ as well.\n\n### Dependencies\n+ A reasonable gcc distro (by 'reasonable', I mean that it should have stdlib.h, stdio.h, string.h, and if you're really lucky, math.h and ctype.h)\n+ Python 2.7 or later if you want to generate your own fonts and don't like typing\n\n### How to build and run the project\n\nBuild object files for the libraries:\n\n```\ngcc -c MARSFont.c -o MARSFont.o\ngcc -c MIPSCodeGen.c -o MIPSCodeGen.o\n```\n\nBuild and link the text to MIPS translator:\n\n```\ngcc -w -c textToMIPS.c -o textToMIPS.o\ngcc MIPSCodeGen.o MARSFont.o textToMIPS.o -o textToMIPS.out\n```\nRun with: ```./textToMIPS.out```\n\nBuild and link the PostScript to MIPS compiler:\n```\ngcc -c postscriptToMIPS.c -o postscriptToMIPS.o\ngcc MIPSCodeGen.o postscriptToMIPS.o -o postscriptToMIPS.out\n```\n\nRun with: ```./postscriptToMIPS.out \u003cpath-to-input-file\u003e \u003cpath-to-output-file (optional)\u003e```\n\n### Using MARSFont to write your own fonts\n```c\n// this part isn't done yet\n// TODO: finish this part\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhawkw%2Fmipscodegeneration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhawkw%2Fmipscodegeneration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhawkw%2Fmipscodegeneration/lists"}