Category:Fōrmulæ: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 24:
| 2 + (3 × 5) || Starting expression
|-
| 2 + 15 || [http://dictionarywiki.formulae.org/Math.Arithmetic.Multiplication#Addition_of_numeric_addends Numeric multiplication] rule
|-
| 17 || [http://dictionarywiki.formulae.org/Math.Arithmetic.Addition#Addition_of_numeric_addends Numeric addition] rule
|-
| 17 || Final result, no rule can be applied
Line 37:
The Fōrmulæ project works in a different way. We do not only create rewriting rules, It provides an specification with which anybody can write —in a regular programming language— rewriting rules that can be also published. It converts the process of creating rewriting rules to a colaborative one.
 
=== Fōrmulæ dictionarywiki ===
 
As you can see, the number of rules are always increasing and they need to be documented. The [http://dictionarywiki.formulae.org Fōrmulæ dictionarywiki] is the official mean to do it.
 
The dictionarywiki is organized on ''expression tags''. An expression tag is a unique name given to a kind of symbolic expression, i.e. the mathematical addition operation receives the expression tag '''Math.Arithmetic.Addition'''. The [http://dictionarywiki.formulae.org/Math.Arithmetic.Addition Math.Arithmetic.Addition] dictionarywiki entry enumerates and describes every known rule applied to this expression tag.
 
=== Expression visualization ===
Line 51:
It means that anybody can write code to define how an expression is to be shown. It is called a visualization rule. Moreover, there can be multiple visualization rules for a specific expression, although only one can be used at the same time.
 
It is very common that these visualization rules show expression as humans do. It is usually called [https://en.wikipedia.org/wiki/Prettyprint pretty-print]. Moreover, different visualization rules can also written to match science field, localization (see [http://dictionarywiki.formulae.org/Category:Expressions_with_localized_implementations Expressions with localized implementations]), or even personal preferences.
 
Entries in the dictionarywiki also describe the known visualization rules for a specific expression tag.
 
=== Expression edition ===
Line 59:
The Fōrmulæ framework also defines a specification to edit (create or modify) symbolic expressions, called edition rules.
 
Entries in the dictionarywiki also describe the known edition rules for a specific expression tag.
 
=== Fōrmulæ packages ===
Line 117:
=== Fōrmulæ front-ends ===
 
[[File:FormulaeDesktopExample.png|thumb|link=http://dictionarywiki.formulae.org/mediawiki/images/1/19/DesktopExample.png|A typical Fōrmulæ desktop front-end session. Click/tap to enlarge]]
 
There must be a program where symbolic expressions are created, visualized, edited and where to apply the rewriting rules. It is a front-end. Anyone can write such a program, according to the Fōrmulæ specification.
Line 163:
| [http://www.formulae.org www.formulae.org] || Main page. Official repository of the library, Desktop program, packages and source code.
|-
| [http://dictionarywiki.formulae.org dictionarywiki.formulae.org] || Reference of expressions and implementations
|}
2,120

edits