{"id":13780972,"url":"https://github.com/furuame/Pascal-Esque-Interpreter","last_synced_at":"2025-05-11T14:34:20.526Z","repository":{"id":216004575,"uuid":"123303275","full_name":"furuame/Pascal-Esque-Interpreter","owner":"furuame","description":"P.E.I is a Pascal like interpreter implemented in C","archived":false,"fork":false,"pushed_at":"2018-03-25T09:41:11.000Z","size":48,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-01T14:02:06.069Z","etag":null,"topics":["interpreter","pascal"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/furuame.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":"2018-02-28T15:22:41.000Z","updated_at":"2024-05-22T21:33:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"386a6a32-db12-4fdb-843d-ccd9523d4523","html_url":"https://github.com/furuame/Pascal-Esque-Interpreter","commit_stats":null,"previous_names":["furuame/pascal-esque-interpreter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/furuame%2FPascal-Esque-Interpreter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/furuame%2FPascal-Esque-Interpreter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/furuame%2FPascal-Esque-Interpreter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/furuame%2FPascal-Esque-Interpreter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/furuame","download_url":"https://codeload.github.com/furuame/Pascal-Esque-Interpreter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252961821,"owners_count":21832194,"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":["interpreter","pascal"],"created_at":"2024-08-03T18:01:21.671Z","updated_at":"2025-05-11T14:34:20.184Z","avatar_url":"https://github.com/furuame.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# Pascal-Esque-Interpreter (P.E.I)\r\nThis is a simple Pascal-like interpreter referenced from [Ruslan's Blog](https://ruslanspivak.com).\r\n\r\n## Build\r\n* ```$ make main```\r\n* ```$ ./main test_program.ps```\r\n\r\n## Limits\r\n* Number in the interpreter is handled with integer\r\n\r\n## Test Program to interpreter\r\n```\r\nPROGRAM test_program;\r\nVAR\r\n    _a, b, c : INTEGER;\r\n    d, e, f : INTEGER;\r\n\r\nBEGIN\r\n    _a := 3;\r\n    b := 6;\r\n    c := _a + b;\r\n    { This is comment. }\r\n    BEGIN\r\n        d := 5;\r\n        e := 9;\r\n        f := d + e + c;\r\n    END;\r\n    _a := _a + f + 3;\r\n    _a := _a div 2\r\nEND.\r\n```\r\n\r\n## Result\r\n```\r\n_a: 14\r\nb: 6\r\nc: 9\r\nd: 5\r\ne: 9\r\nf: 23\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuruame%2FPascal-Esque-Interpreter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuruame%2FPascal-Esque-Interpreter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuruame%2FPascal-Esque-Interpreter/lists"}