🍺 BREW Explorer

← all formulae

foma

brew install foma v0.10.0_1 Apache-2.0

Finite-state compiler and C library

2
30-day installs · #13660
17
90-day · #10248
142
365-day · #8263
134
★ GitHub stars · updated 5mo ago

Build dependencies

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "bison",
    "cmake",
    "pkgconf"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [
    "freeling"
  ],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Finite-state compiler and C library",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:37:45+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "foma",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-03-11T11:32:23Z",
  "github_readme_excerpt": "# foma\n\nFinite-state transducer technology.\n\n## Compilation Instructions\n\n1. Ensure GNU readline library is installed.\n2. `cd foma`\n3. `cmake CMakeLists.txt`\n4. `make`\n5. `make install` (if you want to install it)\n\n## Compiling to Web Assembly (wasm) using Emscripten\n\nThe `readline` and `zlib` dependencies are not needed for the wasm build.\n\n```\n# Install and activate Emscripten SDK\n# (You may want to choose a different place in your filesystem to put emsdk)\ngit clone https://github.com/emscripten-core/emsdk.git  # only needed the first time\ncd emsdk\ngit pull\n./emsdk install latest\n./emsdk activate latest\n# Follow printed instructions\ncd ..\n\n# Build foma to WebAssembly using Emscripten\ncd foma\nemcmake cmake\nemmake make\n\n# Start a local web server:\npython3 -m http.server 8000\n```\n\nOpen a web browser and navigate to http://localhost:8000/demo.html.\nThe demo page allows you to test Foma regular expressions directly in your browser.\n",
  "github_repo": "mhulden/foma",
  "github_stars": 134,
  "github_topics": [],
  "homepage": "https://github.com/mhulden/foma",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 2,
  "installs_365d": 142,
  "installs_90d": 17,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Apache-2.0",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "foma",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 13660,
  "rank_365d": 8263,
  "rank_90d": 10248,
  "raw_hash": "8bf08d4e87e24801",
  "recommended_dependencies": [],
  "revision": 1,
  "ruby_source_path": "Formula/f/foma.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [
    {
      "flex": "build"
    }
  ],
  "version_head": null,
  "version_stable": "0.10.0",
  "versioned_formulae": [],
  "why_use_this": null
}