{"id":13783145,"url":"https://github.com/fhammoud/interpreter","last_synced_at":"2025-05-11T17:31:30.231Z","repository":{"id":101957203,"uuid":"161402995","full_name":"fhammoud/interpreter","owner":"fhammoud","description":"Custom language interpreter written in C","archived":false,"fork":false,"pushed_at":"2018-12-11T23:53:57.000Z","size":1135,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-03T18:18:20.740Z","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/fhammoud.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-12-11T22:40:58.000Z","updated_at":"2019-11-22T07:31:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"a25bcda8-c412-4b34-9a24-ed9971da12aa","html_url":"https://github.com/fhammoud/interpreter","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/fhammoud%2Finterpreter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhammoud%2Finterpreter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhammoud%2Finterpreter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhammoud%2Finterpreter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fhammoud","download_url":"https://codeload.github.com/fhammoud/interpreter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253604716,"owners_count":21934891,"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:54.201Z","updated_at":"2025-05-11T17:31:29.958Z","avatar_url":"https://github.com/fhammoud.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"﻿# Custom Interpreter\n\nThis was a fun university junior year C project that interprets and executes a custom language.\nWe were given a grammar and tasked to tokenize and parse code written in the provided text files.\nThe output should match each text files corresponding expected file.\n\nFeatures of this program:\n* Reads in one of the provided test files\n* Parse the input file looking for tokens and build the statements\n* Interpret and execute the custom code\n* Output the result\n\n##### To test\n###### Linux\n* Clone the project and move to its directory\n* Run `make` to build the executable\n* Run the program and redirect input from one of the test files\n* e.g `./main.out \u003c tests/switch_while.txt`\n* Verify output\n\n###### Windows\nThis project was written for Linux so running on Visual Studio may require an installation of Windows Subsystem for Linux (WSL)\n* Clone the project\n* Open the solution file in Visual Studio\n* Configure a connection to your WSL installation\n* Run the program\n* You can change input parameters from `Debug \u003e interpreter Properties \u003e Debugging \u003e Program Arguments`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffhammoud%2Finterpreter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffhammoud%2Finterpreter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffhammoud%2Finterpreter/lists"}