{"id":24375878,"url":"https://github.com/csvancea/glyphointerpreter","last_synced_at":"2026-04-20T22:31:15.293Z","repository":{"id":130856207,"uuid":"337112792","full_name":"csvancea/GlyphoInterpreter","owner":"csvancea","description":"An interpreter for Glypho - an esoteric programming language","archived":false,"fork":false,"pushed_at":"2021-02-25T17:35:22.000Z","size":204,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-28T11:09:23.384Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","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/csvancea.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-02-08T15:03:33.000Z","updated_at":"2021-02-25T17:35:26.000Z","dependencies_parsed_at":"2025-12-26T23:01:16.102Z","dependency_job_id":null,"html_url":"https://github.com/csvancea/GlyphoInterpreter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/csvancea/GlyphoInterpreter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csvancea%2FGlyphoInterpreter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csvancea%2FGlyphoInterpreter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csvancea%2FGlyphoInterpreter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csvancea%2FGlyphoInterpreter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csvancea","download_url":"https://codeload.github.com/csvancea/GlyphoInterpreter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csvancea%2FGlyphoInterpreter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32068479,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T21:26:33.338Z","status":"ssl_error","status_checked_at":"2026-04-20T21:26:22.081Z","response_time":94,"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":[],"created_at":"2025-01-19T05:58:29.914Z","updated_at":"2026-04-20T22:31:15.286Z","avatar_url":"https://github.com/csvancea.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Glypho Interpreter - Cosmin-Razvan VANCEA - 333CA\n\n\nStructura si implementare:\n--------------------------\n* Codul este impartit in 3 pachete:\n  1. decoder (decodifica un sir de glife)\n  2. executor (executa instructiunile decodificate)\n  3. main (citeste si valideaza argumentele primite de la linia de comanda)\n\n* Pachetul `decoder`:\n  - are rolul de a traduce un sir de glife intr-o lista de instructiuni\n  - o instructiune decodificata este formata din:\n    - cod de operatie (opcode)\n    - jump index (optional; se aplica doar operatiilor care efectueaza salturi (*BRACE))\n  - decodificarea se desfasoara astfel:\n    - se verifica daca numarul de glife este divizibil cu 4\n    - se citesc blocuri de cate 4 simboluri si se determina codul de operatie\n    - se genereaza instructiunea decodificata si se adauga in lista\n    - in plus: exista o stiva care memoreaza adresele la care s-au gasit instructiuni\n    LBRACE pentru a se putea face asocierea LBRACE-RBRACE (balanced brackets)\n    - daca la orice pas se detecteaza o eroare de sintaxa, atunci se arunca exceptia\n    `SyntaxException` care indica indexul instructiunii si o scurta descriere a\n    problemei (descrierea este doar pentru debugging)\n  - la finalul traducerii va rezulta o lista de instructiuni in formatul prezentat mai sus\n\n* Pachetul `executor`:\n  - se comporta ca un procesor - are rolul de a executa un sir de instructiuni decodificate\n  - clasa `Executor` are in componenta:\n    - o lista de instructiuni decodificate (primita de la Decoder)\n    - un \"registru\" care indica indexul instructiunii care trebuie executata la pasul curent\n    - o stiva pentru simboluri (implementata printr-o lista dublu-inlantuita\n    deoarece instructiunile lucreaza cu ambele capete ale \"stivei\")\n    - o functie care \"implementeaza\" codul din spatele fiecarui opcode\n  - daca la orice pas se detecteaza o eroare de runtime, atunci se arunca exceptia\n  `RuntimeException` care indica indexul instructiunii si o scurta descriere a\n  problemei (descrierea este doar pentru debugging)\n\n* Pachetul `main`:\n  - imbina pachetele `decoder` si `executor`\n  - prinde exceptiile aruncate si afiseaza erorile corespunzator la stderr\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsvancea%2Fglyphointerpreter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsvancea%2Fglyphointerpreter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsvancea%2Fglyphointerpreter/lists"}