{"id":17918904,"url":"https://github.com/xuri/efp","last_synced_at":"2025-05-15T11:07:43.700Z","repository":{"id":22532060,"uuid":"96618355","full_name":"xuri/efp","owner":"xuri","description":"Go Language Microsoft Excel™ Formula Parser","archived":false,"fork":false,"pushed_at":"2025-02-27T11:00:51.000Z","size":55,"stargazers_count":121,"open_issues_count":2,"forks_count":28,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-10T06:39:18.122Z","etag":null,"topics":["ast","efp","excel","excelize","formula","formula-parser","go","golang","parser","spreadsheet","xlsx"],"latest_commit_sha":null,"homepage":"https://xuri.me/excelize","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xuri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"xuri","open_collective":"excelize","patreon":"xuri","ko_fi":"xurime","liberapay":"xuri","issuehunt":"xuri","custom":"https://www.paypal.com/paypalme/xuri"}},"created_at":"2017-07-08T12:42:22.000Z","updated_at":"2025-03-31T23:56:15.000Z","dependencies_parsed_at":"2022-09-01T04:22:39.255Z","dependency_job_id":"a3b31406-f036-4d1f-811c-7e84b3997132","html_url":"https://github.com/xuri/efp","commit_stats":{"total_commits":36,"total_committers":9,"mean_commits":4.0,"dds":0.2777777777777778,"last_synced_commit":"9ad904a10d6ddc577151742c47aa93d2965b9eeb"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuri%2Fefp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuri%2Fefp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuri%2Fefp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuri%2Fefp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xuri","download_url":"https://codeload.github.com/xuri/efp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254328384,"owners_count":22052632,"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":["ast","efp","excel","excelize","formula","formula-parser","go","golang","parser","spreadsheet","xlsx"],"created_at":"2024-10-28T20:13:22.369Z","updated_at":"2025-05-15T11:07:43.652Z","avatar_url":"https://github.com/xuri.png","language":"Go","readme":"# EFP (Excel Formula Parser)\n\n[![Build Status](https://github.com/xuri/efp/workflows/Go/badge.svg)](https://github.com/xuri/efp/actions?workflow=Go)\n[![Code Coverage](https://codecov.io/gh/xuri/efp/branch/master/graph/badge.svg)](https://codecov.io/gh/xuri/efp)\n[![Go Report Card](https://goreportcard.com/badge/github.com/xuri/efp)](https://goreportcard.com/report/github.com/xuri/efp)\n[![go.dev](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go\u0026logoColor=white)](https://pkg.go.dev/github.com/xuri/efp)\n[![Licenses](https://img.shields.io/badge/license-bsd-orange.svg)](https://opensource.org/licenses/BSD-3-Clause)\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fxuri%2Fefp.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fxuri%2Fefp?ref=badge_shield)\n\nUsing EFP (Excel Formula Parser) you can get an Abstract Syntax Tree (AST) from Excel formula.\n\n## Installation\n\n```bash\ngo get github.com/xuri/efp\n```\n\n## Example\n\n```go\npackage main\n\nimport \"github.com/xuri/efp\"\n\nfunc main() {\n    ps := efp.ExcelParser()\n    ps.Parse(\"=SUM(A3+B9*2)/2\")\n    println(ps.PrettyPrint())\n}\n```\n\nGet AST\n\n```text\nSUM \u003cFunction\u003e \u003cStart\u003e\n    A3 \u003cOperand\u003e \u003cRange\u003e\n    + \u003cOperatorInfix\u003e \u003cMath\u003e\n    B9 \u003cOperand\u003e \u003cRange\u003e\n    * \u003cOperatorInfix\u003e \u003cMath\u003e\n    2 \u003cOperand\u003e \u003cNumber\u003e\n \u003cFunction\u003e \u003cStop\u003e\n/ \u003cOperatorInfix\u003e \u003cMath\u003e\n2 \u003cOperand\u003e \u003cNumber\u003e\n```\n\n## Contributing\n\nContributions are welcome! Open a pull request to fix a bug, or open an issue to discuss a new feature or change.\n\n## Credits\n\nEFP (Excel Formula Parser) is a Go language port of E. W. Bachtal's Excel formula parser.\n\n## Licenses\n\nThis program is under the terms of the BSD 3-Clause License. See [https://opensource.org/licenses/BSD-3-Clause](https://opensource.org/licenses/BSD-3-Clause).\n\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fxuri%2Fefp.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fxuri%2Fefp?ref=badge_large)\n","funding_links":["https://github.com/sponsors/xuri","https://opencollective.com/excelize","https://patreon.com/xuri","https://ko-fi.com/xurime","https://liberapay.com/xuri","https://issuehunt.io/r/xuri","https://www.paypal.com/paypalme/xuri"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxuri%2Fefp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxuri%2Fefp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxuri%2Fefp/lists"}