{"id":19251140,"url":"https://github.com/parthkolekar/dcc","last_synced_at":"2026-02-08T09:32:35.827Z","repository":{"id":89697051,"uuid":"47545409","full_name":"ParthKolekar/dcc","owner":"ParthKolekar","description":"A Decaf Compiler with some language modifications","archived":false,"fork":false,"pushed_at":"2017-01-02T13:12:08.000Z","size":4800,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-03T06:15:33.384Z","etag":null,"topics":["dcc","decaf-compiler","decaf-language","decaf-specifications","llvm"],"latest_commit_sha":null,"homepage":"https://github.com/ParthKolekar/dcc","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ParthKolekar.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":"2015-12-07T10:29:54.000Z","updated_at":"2021-05-18T07:03:15.000Z","dependencies_parsed_at":"2023-07-21T07:30:23.731Z","dependency_job_id":null,"html_url":"https://github.com/ParthKolekar/dcc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ParthKolekar/dcc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParthKolekar%2Fdcc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParthKolekar%2Fdcc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParthKolekar%2Fdcc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParthKolekar%2Fdcc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ParthKolekar","download_url":"https://codeload.github.com/ParthKolekar/dcc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParthKolekar%2Fdcc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29226470,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T09:15:18.648Z","status":"ssl_error","status_checked_at":"2026-02-08T09:14:33.745Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["dcc","decaf-compiler","decaf-language","decaf-specifications","llvm"],"created_at":"2024-11-09T18:20:27.428Z","updated_at":"2026-02-08T09:32:35.822Z","avatar_url":"https://github.com/ParthKolekar.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"dcc\n===\n\nA decaf compiler.\n\n[![Build Status](https://travis-ci.org/ParthKolekar/dcc.svg?branch=master)](https://travis-ci.org/ParthKolekar/dcc)\n\nDecaf Language\n--------------\n\nDecaf specifications are as in the given decaf manual. A few notable edits were made to this.\n\n- The for loop does not implicitly contain an increment of the loop index, for flexiblity.\n- The loop index termination condition is equated as a not equal condition and not a less than equal condition.\n- The loop index needs to be declared.\n- The variables are all i64 signed integers so that conditions like `i = j == k` work properly\n- Boolean is zero extended to i64 signed integer.\n- The special escape characters are not excaped in strings.\n\nDecaf specification changes over the years, the implementation is done strictly for MIT '10 specification which is also \nprovided with the source. With the above mentioned changes.\n\ndcc\n---\n\nIt is a llvm frontend to the decaf language. The output llvm is printed on the stdout,\nthe errors are in stderr. \nThere is no error handling. On detection of fatal errors, the parsing simply stops.\nThe output llvm can be further processed by `clang`, or `lli`\n\nBuild Instructions\n------------------\n\nRun `make` on the directory. \n`make debug` runs it in debug mode which prints extra debug information.\n\nRun Instructions\n----------------\n\n`dcc filename` prints out the llvm for file on stdout, and errors if any on stderr.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparthkolekar%2Fdcc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparthkolekar%2Fdcc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparthkolekar%2Fdcc/lists"}