{"id":19512315,"url":"https://github.com/vmchale/jacinda","last_synced_at":"2025-04-07T12:09:58.132Z","repository":{"id":47594276,"uuid":"443919789","full_name":"vmchale/jacinda","owner":"vmchale","description":"Functional, expression-oriented data processing language","archived":false,"fork":false,"pushed_at":"2025-03-24T12:21:48.000Z","size":6828,"stargazers_count":87,"open_issues_count":1,"forks_count":6,"subscribers_count":3,"default_branch":"canon","last_synced_at":"2025-03-31T11:03:49.602Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vmchale.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"COPYING","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-01-03T02:29:44.000Z","updated_at":"2025-03-24T12:21:53.000Z","dependencies_parsed_at":"2023-02-06T05:02:17.743Z","dependency_job_id":"ef4e8acc-a72d-4f1e-9dda-c4a1593308d2","html_url":"https://github.com/vmchale/jacinda","commit_stats":{"total_commits":1356,"total_committers":4,"mean_commits":339.0,"dds":0.004424778761061954,"last_synced_commit":"8eec8fc5083271ec1f00a0ee51831d1f5af65957"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmchale%2Fjacinda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmchale%2Fjacinda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmchale%2Fjacinda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmchale%2Fjacinda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vmchale","download_url":"https://codeload.github.com/vmchale/jacinda/tar.gz/refs/heads/canon","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648977,"owners_count":20972945,"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-11-10T23:25:25.745Z","updated_at":"2025-04-07T12:09:58.108Z","avatar_url":"https://github.com/vmchale.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Jacinda is a functional pattern filtering language,\ninspired by [AWK](http://www.awklang.org).\n\n# Installation\n\n## Releases\n\nThere are binaries for some platforms on the [releases page](https://github.com/vmchale/jacinda/releases/).\n\nIf you are on Mac, you will need to install `*-librure.dylib` as well.\n\n## Nix\n\nJacinda is available as a [Nix package](https://search.nixos.org/packages?channel=unstable\u0026from=0\u0026size=1\u0026type=packages\u0026query=jacinda) (thanks to Lukas Epple, who is the maintainer).\n\n## From Source\n\nFirst, install [Rust's regex library](https://github.com/rust-lang/regex/tree/master/regex-capi#c-api-for-rusts-regex-engine). You'll need to put `librure.so` or `librure.dylib` etc. in the appropriate place.\n\nIf you have [cabal](https://www.haskell.org/cabal/) and [GHC](https://www.haskell.org/ghc/) installed (perhaps via [ghcup](https://www.haskell.org/ghcup/)):\n\n```\ncabal install jacinda\n```\n\n## Editor Support\n\nThere is a [vim plugin](https://github.com/vmchale/jacinda-vim) and a [VSCode extension](https://marketplace.visualstudio.com/items?itemName=vmchale.jacinda).\n\n# Usefulness\n\nUnix uses record separators in many places; we can display one entry in the\n`PATH` variable with:\n\n```\necho $PATH | ja -F: \"{|[x+'\\n'+y]|\u003e\\`$}\"\n```\n\nMany Unix tools output information separated with spaces. We use regular\nexpressions to match relevant lines and then select the field with the data\nitself, viz.\n\n```\notool -l $(locate libpng.dylib) | ja '{`1 ~ /^name/}{`2}'\n```\n\nTo get the value of a variable (say, `PATH`) from the output of `printenv`:\n\n```\nprintenv | ja -F= '{%/^PATH/}{`2}'\n```\n\n# Documentation\n\nSee the [guide](https://vmchale.github.io/jacinda/) (archived on [Hackage](https://hackage.haskell.org/package/jacinda/src/doc/guide.pdf)), which contains a tutorial\non some of the features as well as examples.\n\nThe [manpages](https://hackage.haskell.org/package/jacinda/src/man/ja.1) document the builtins and provide a syntax reference.\n\nSee the [rosetta](./ROSETTA.md) showing AWK alongside, or the [examples](./EXAMPLES.md) for its own capabilities.\n\n# Status\n\n## Missing Features \u0026 Bugs\n\n  * No nested dfns\n  * No list literal syntax\n  * Postfix `:f` and `:i` are handled poorly\n  * Streams of functions don't work\n  * Higher-order functions are subtly broken\n\nIntentionally missing features:\n\n  * No loops\n\n# Advantages\n\n  * [Rust's regular expressions](https://docs.rs/regex/)\n    - extensively documented with Unicode support\n  * Deduplicate builtin\n\n# Contributing\n\nI have rewritten the code several times so forking and applying patches is fraught!\n\nBug reports are welcome contributions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmchale%2Fjacinda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvmchale%2Fjacinda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmchale%2Fjacinda/lists"}