{"id":13783117,"url":"https://github.com/spkenkare/Interpreter","last_synced_at":"2025-05-11T17:30:58.861Z","repository":{"id":216005440,"uuid":"97771120","full_name":"spkenkare/Interpreter","owner":"spkenkare","description":null,"archived":false,"fork":false,"pushed_at":"2017-07-19T23:55:49.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-24T16:41:38.742Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/spkenkare.png","metadata":{"files":{"readme":"README.txt","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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-07-19T23:53:28.000Z","updated_at":"2017-07-19T23:55:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"48e21a0e-6037-493a-b026-9116823cebb6","html_url":"https://github.com/spkenkare/Interpreter","commit_stats":null,"previous_names":["spkenkare/interpreter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spkenkare%2FInterpreter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spkenkare%2FInterpreter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spkenkare%2FInterpreter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spkenkare%2FInterpreter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spkenkare","download_url":"https://codeload.github.com/spkenkare/Interpreter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213838168,"owners_count":15645786,"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-08-03T18:01:53.433Z","updated_at":"2024-08-03T18:11:21.463Z","avatar_url":"https://github.com/spkenkare.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"Due date: Sunday 1/24/2016 @ 11:59pm\n\nObjective:\n~~~~~~~~~~\n\n- Become familiar with the project submission environment\n- Introduction to C programming\n- Help you think about test cases and ambiguities in specifications\n\nAssignment:\n~~~~~~~~~~~\n\n(1) Write an interpreter for a simple programming language:\n\n- The program is passed as a command line argument to the interpreter\n\n- A program consists of a sequence of assignment statements\n\n- Each statement is terminated with ';'\n\n- The left hand side of an assignment is always a simple variable\n\n- Variable names can only contain a single lower-case letter\n\n- The right hand side of an assignment is always a positive integer literal\n\n- All variables are initialized to 0\n\n- The interpreter prints the values of all the non-zero variables in\n  alphabetical order when it finishes interpreting the program\n\n- Unexpected characters are ignored\n\n(2) Donate a test case by adding two files:\n\n    \u003ccsid\u003e.test : the test\n    \u003ccsid\u003e.ok   : the expected output\n\n    Where \u003ccsid\u003e is you CS ID (not your UTEID)\n\n(3) Answer the questions in REPORT.txt\n\nExamples:\n~~~~~~~~~\n\n./p1 \"x = 10;\"\nx:10\n\n./p1 \"x = 2_09 ; a = 17;\"\na:17\nx:209\n\nFiles you're allowed to change:\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n   p1.c\n   \u003ccsid\u003e.test\n   \u003ccsid\u003e.ok\n\nFiles you're supposed to leave alone:\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n   Everything else\n   \nTo compile:\n~~~~~~~~~~~\n\n    make\n\nTo run tests:\n~~~~~~~~~~~~~\n\n    make clean test\n\nTo make the output less noisy:\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n    make -s clean test\n\nTo debug with gdb\n~~~~~~~~~~~~~~~~~\n\n    make\n    gdb ./p1\n    (gdb) run \"x = 100; a = 30;\"\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspkenkare%2FInterpreter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspkenkare%2FInterpreter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspkenkare%2FInterpreter/lists"}