{"id":16271791,"url":"https://github.com/mukel/bf","last_synced_at":"2025-07-22T13:35:03.943Z","repository":{"id":40645690,"uuid":"364004859","full_name":"mukel/bf","owner":"mukel","description":"TruffleBrainf*ck interpreter","archived":false,"fork":false,"pushed_at":"2025-06-30T09:53:51.000Z","size":70,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-05T04:14:31.172Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mukel.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,"zenodo":null}},"created_at":"2021-05-03T17:14:45.000Z","updated_at":"2025-06-30T09:53:55.000Z","dependencies_parsed_at":"2025-07-05T04:04:46.344Z","dependency_job_id":"b67735b5-50b5-41bb-8816-df73f365372b","html_url":"https://github.com/mukel/bf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mukel/bf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mukel%2Fbf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mukel%2Fbf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mukel%2Fbf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mukel%2Fbf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mukel","download_url":"https://codeload.github.com/mukel/bf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mukel%2Fbf/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266506250,"owners_count":23940021,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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-10T18:14:52.770Z","updated_at":"2025-07-22T13:35:03.933Z","avatar_url":"https://github.com/mukel.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bf\nTruffle Brainf*ck (bytecode) interpreter.\n\n### Build\nA few configurations are provided: `jvm`, `jvm-ce`, `jvm-ee`, `native-ce` `native-ee`.\nThe `jvm-*` run on `jargraal` instead of `libgral` to avoid re-building `libjvmcicompiler.so` every time.\n\n```bash\nmx --env native-ee build\n```\n\n### Run\n```bash\nmx --env native-ee bf --experimental-options --log.level=ALL --engine.Mode=latency --engine.BackgroundCompilation=false --engine.CompileImmediately=true --engine.TraceCompilationDetails demos/mandelbrot.bf\n```\n\n`--engine.BackgroundCompilation=false --engine.CompileImmediately=true` ensures that BF programs are fully compiled before execution.  \n`--engine.Mode=latency` is **strongly recommended** to avoid abysmal compilation times due to optimization phases with pathological non-linear complexity.  \n`--log.level=ALL` logs the time taken to execute a BF program.\n`--engine.TraceCompilationDetails` logs compilation events including time taken by partial evaluation and compilation.  \n`--engine.Compilation=false` disables compilation, useful to test interpreter performance.\n\n### Debug\nTo attach the debugger to run in JVM mode as follows: \n```bash\nmx --env jvm-ee build\nmx --env jvm-ee bf --experimental-options --vm.agentlib:jdwp=transport=dt_socket,server=y,address=8000,suspend=y --log.level=ALL --engine.Mode=latency --engine.BackgroundCompilation=false --engine.CompileImmediately=true --engine.TraceCompilationDetails demos/mandelbrot.bf\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmukel%2Fbf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmukel%2Fbf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmukel%2Fbf/lists"}