{"id":16086973,"url":"https://github.com/guillep/phasme","last_synced_at":"2026-01-19T11:32:10.083Z","repository":{"id":147866056,"uuid":"461199201","full_name":"guillep/phasme","owner":"guillep","description":null,"archived":false,"fork":false,"pushed_at":"2022-02-28T13:59:20.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T14:43:55.946Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Smalltalk","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/guillep.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}},"created_at":"2022-02-19T13:25:11.000Z","updated_at":"2022-02-19T13:26:30.000Z","dependencies_parsed_at":"2023-05-27T18:00:08.305Z","dependency_job_id":null,"html_url":"https://github.com/guillep/phasme","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/guillep/phasme","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guillep%2Fphasme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guillep%2Fphasme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guillep%2Fphasme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guillep%2Fphasme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guillep","download_url":"https://codeload.github.com/guillep/phasme/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guillep%2Fphasme/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28566387,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T08:53:44.001Z","status":"ssl_error","status_checked_at":"2026-01-19T08:52:40.245Z","response_time":67,"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":"2024-10-09T13:26:30.882Z","updated_at":"2026-01-19T11:32:10.065Z","avatar_url":"https://github.com/guillep.png","language":"Smalltalk","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Phasme\n\nA x86-64 learning compiler.\n\nIt features:\n - an x86 ASM generator\n - a Mach-o reader to load the compiled ASM (compiled through gcc)\n - a simple simulator based on unicorn\n - a simple stack based compiler that\n    - implements arithmetics, control flow, function calls\n    - implements the System V calling convention for up to 2 arguments\n    - stores intermediate values in the stack and sub-utilised registers (on purpose :))\n\nComing:\n - a debugger and disassembler\n - management of arrays and structures\n - a bit on parsing either using Smacc as a grammar-based parser generator, or petit parser using parser combinators, or both\n - an elf reader for linuxes\n\n## Dependencies\n\nThe pharo dependencies are already specified in the baseline. Load the project in iceberg and then install through metacello.\nHowever, this requries installing two native libraries: \n - llvm, for the disassembler\n - unicorn, for the simulation\n\nDownload libllvm-full and libunicorn from the following and put them next to the image or VM.:\n - Linux, x86-64: https://files.pharo.org/vm/pharo-spur64/Linux-x86_64/third-party/\n - OSX, x86-64: https://files.pharo.org/vm/pharo-spur64/Darwin-x86_64/third-party/\n\nCAUTION: only tested on OSX for now\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguillep%2Fphasme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguillep%2Fphasme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguillep%2Fphasme/lists"}