{"id":26950542,"url":"https://github.com/formulae-org/package-expression-js","last_synced_at":"2025-08-01T19:05:02.039Z","repository":{"id":187620707,"uuid":"627719328","full_name":"formulae-org/package-expression-js","owner":"formulae-org","description":"Expression package for Fōrmulæ, in JavaScript","archived":false,"fork":false,"pushed_at":"2025-04-01T05:11:41.000Z","size":59,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T06:23:04.474Z","etag":null,"topics":["cardinality","create-expression","deserialization","expression","formulae","javascript","protect","reduce","serialization"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/formulae-org.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}},"created_at":"2023-04-14T03:49:00.000Z","updated_at":"2025-04-01T05:11:44.000Z","dependencies_parsed_at":"2024-01-07T04:22:16.591Z","dependency_job_id":"feb3207b-7c59-45ea-a62b-486d95fc83cb","html_url":"https://github.com/formulae-org/package-expression-js","commit_stats":null,"previous_names":["formulae-org/package-expression-js"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/formulae-org/package-expression-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formulae-org%2Fpackage-expression-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formulae-org%2Fpackage-expression-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formulae-org%2Fpackage-expression-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formulae-org%2Fpackage-expression-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/formulae-org","download_url":"https://codeload.github.com/formulae-org/package-expression-js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formulae-org%2Fpackage-expression-js/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268281808,"owners_count":24225159,"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-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["cardinality","create-expression","deserialization","expression","formulae","javascript","protect","reduce","serialization"],"created_at":"2025-04-02T23:29:58.440Z","updated_at":"2025-08-01T19:05:01.970Z","avatar_url":"https://github.com/formulae-org.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# package-expression-js\n\nExpression package for the [Fōrmulæ](https://formulae.org) programming language.\n\nFōrmulæ is also a software framework for visualization, edition and manipulation of complex expressions, from many fields. The code for an specific field —i.e. arithmetics— is encapsulated in a single unit called a Fōrmulæ **package**.\n\nThis repository contains the source code for the **expression package**. It is intended to contain operations applicable to most (or all) other expressions, or expression related to [reflection](https://en.wikipedia.org/wiki/Reflective_programming).\n\nThe GitHub organization [formulae-org](https://github.com/formulae-org) encompasses the source code for the rest of packages, as well as the [web application](https://github.com/formulae-org/formulae-js).\n\n\u003c!--\nTake a look at this [tutorial](https://formulae.org/?script=tutorials/Complex) to know the capabilities of the Fōrmulæ arithmetic package.\n--\u003e\n\n### Capabilities ###\n\n* Expressions applicable universally\n\n  * **Subexpression** expression. It retrieves the i-th subexpression of a given expression. It is shown as $x_i$\n  * **Tag** expression. It retrieves the tag of a given expression\n  * **Cardinality** expression. It retrieves to number of subexpressions of a given expression. It is shown as $|x|$\n  * **Appends/prepends** a subexpression after/before the last/first subexpression of a given expression\n  * **Insertion** of a subexpression at a given position\n  * **Deletion** of a subexpression at a given position\n\n* Expressions related to reduction\n\n  * **Protect expression**. It prevents a given expression to be reduced\n  * **Reduce expression**. Forces reduction of an expression.\n\n* Expressions related to programatic creation of expressions\n\n  * **Serializeation** expression. It converts a given expression to XML text.\n  * **Deserialization** expression. It creates an expression from XML text\n  * **Create expression** expression. Creation of an expression from its tag\n  * **Create expression tree** expression. Creation of an expression from its subexpressions\n\n* Others\n\n  * **Group** expression. Create groups of expressions\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fformulae-org%2Fpackage-expression-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fformulae-org%2Fpackage-expression-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fformulae-org%2Fpackage-expression-js/lists"}