{"id":16098946,"url":"https://github.com/hellerve/obf","last_synced_at":"2025-04-05T22:43:41.833Z","repository":{"id":191432751,"uuid":"684640433","full_name":"hellerve/obf","owner":"hellerve","description":"An optimizing Brainfuck compiler in Pharo","archived":false,"fork":false,"pushed_at":"2023-08-31T09:50:11.000Z","size":11,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-12T05:11:48.589Z","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/hellerve.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":"2023-08-29T14:53:38.000Z","updated_at":"2023-09-13T13:23:29.000Z","dependencies_parsed_at":"2024-10-31T13:42:11.568Z","dependency_job_id":"bc3f3e90-3bf4-4299-9254-1e777e8a3e3e","html_url":"https://github.com/hellerve/obf","commit_stats":null,"previous_names":["hellerve/obf"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellerve%2Fobf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellerve%2Fobf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellerve%2Fobf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellerve%2Fobf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hellerve","download_url":"https://codeload.github.com/hellerve/obf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247411193,"owners_count":20934650,"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-10-09T18:25:11.053Z","updated_at":"2025-04-05T22:43:41.796Z","avatar_url":"https://github.com/hellerve.png","language":"Smalltalk","funding_links":[],"categories":[],"sub_categories":[],"readme":"# obf\n\nAn optimizing compiler for Brainfuck in Pharo. Compiles to Pharo VM bytecode.\n## Usage \nThe easiest access to the compiler is done by accessing the (Glamorous Toolkit) views just by getting a live instance:\n```\nBrainfuckCompiler new\n```\n\nYou can generate compiled code like this:\n```smalltalk\n\"a regular compile\"\nBrainfuckCompiler new compile: '++++++++[\u003e++++[\u003e++\u003e+++\u003e+++\u003e+\u003c\u003c\u003c\u003c-]\u003e+\u003e+\u003e-\u003e\u003e+[\u003c]\u003c-]\u003e\u003e.\u003e---.+++++++..+++.\u003e\u003e.\u003c-.\u003c.+++.------.--------.\u003e\u003e+.\u003e++.'.\n\n\"or enable optimizations\"\nBrainfuckCompiler new enableOptimizations compile: '++++++++[\u003e++++[\u003e++\u003e+++\u003e+++\u003e+\u003c\u003c\u003c\u003c-]\u003e+\u003e+\u003e-\u003e\u003e+[\u003c]\u003c-]\u003e\u003e.\u003e---.+++++++..+++.\u003e\u003e.\u003c-.\u003c.+++.------.--------.\u003e\u003e+.\u003e++.'.\n\n```\n\nThe resulting code can be executed using `valueWithReceiver: arguments:`. It doesn’t take any\narguments and the receiver does not matter, so I usually use `self valueWithReceiver: 1 arguments: #()`.\n## Installation\r\r```smalltalk\rMetacello new\r\trepository: 'github://hellerve/obf:main/src';\r\tbaseline: 'Brainfuck';\r\tload\r```\r\r\n\u003chr/\u003e\n\nHave fun!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellerve%2Fobf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhellerve%2Fobf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellerve%2Fobf/lists"}