{"id":27703931,"url":"https://github.com/kw-udon/ucc","last_synced_at":"2025-04-26T00:01:40.319Z","repository":{"id":23705098,"uuid":"27077392","full_name":"keiichiw/ucc","owner":"keiichiw","description":"Udon C Compiler: C compiler for our original CPU","archived":false,"fork":false,"pushed_at":"2016-11-18T15:39:28.000Z","size":522,"stargazers_count":82,"open_issues_count":0,"forks_count":8,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-21T02:53:40.437Z","etag":null,"topics":["c","compiler","ocaml"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/keiichiw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-24T13:42:42.000Z","updated_at":"2023-12-20T01:13:53.000Z","dependencies_parsed_at":"2022-08-30T14:20:09.850Z","dependency_job_id":null,"html_url":"https://github.com/keiichiw/ucc","commit_stats":null,"previous_names":["kw-udon/ucc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keiichiw%2Fucc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keiichiw%2Fucc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keiichiw%2Fucc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keiichiw%2Fucc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keiichiw","download_url":"https://codeload.github.com/keiichiw/ucc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250912712,"owners_count":21506868,"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":["c","compiler","ocaml"],"created_at":"2025-04-26T00:01:39.572Z","updated_at":"2025-04-26T00:01:40.305Z","avatar_url":"https://github.com/keiichiw.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# UCC - Udon C Compiler  [![Build Status](https://travis-ci.org/kw-udon/ucc.svg?branch=master)](https://travis-ci.org/kw-udon/ucc)\n\nC compiler for [GAIA](https://github.com/wasabiz/GAIA3) CPU written in OCaml.\n\nRequirement\n==============\n* OCaml \u003e= 4.0.1\n* ocamlbuild \u003e= 4.0.1\n* Clang (for preprocessing and syntax check)\n\nBuild\n==============\n``make``\n\nTo run the tests, use the following command.\n\n``make test``\n\nExample\n==========\nYou can compile C file by the following command.\n\n``./bin/ucc ./test/printf.c``\n\nThen, `a.out` will be created. It runs on the simulator.\n\n\n``./bin/sim -simple a.out``\n\nYou can check generated assembly by `-S` option.\n\n ``./bin/ucc -S ./test/printf.c``\n\nIf you want to see other options, please use `-h` option.\n\nIn addition, UCC can compile [xv6 ported to GAIA](https://github.com/wasabiz/xv6), a simple Unix-like OS.\nPlease use this [Makefile](https://gist.github.com/kw-udon/0fcedda2d29c81a2d1be) to try it.\n\nArticle\n=========\n* http://kw-udon.hatenablog.com/entry/2015/03/19/171921 (written in Japanese)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkw-udon%2Fucc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkw-udon%2Fucc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkw-udon%2Fucc/lists"}