From 00d8470d955f839292ade71cefa93c70e205f09a Mon Sep 17 00:00:00 2001 From: Haydn Ewers <27211+haydn@users.noreply.github.com> Date: Sun, 31 Mar 2019 17:44:35 +1100 Subject: [PATCH] Update README --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d6cf92f..2f9b685 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Universal Language for Mathematics -Project to define a spec for a univeral [abstract syntax tree](https://en.wikipedia.org/wiki/Abstract_syntax_tree) (AST) for mathematical expressions. +Project to define a spec for a universal [abstract syntax tree](https://en.wikipedia.org/wiki/Abstract_syntax_tree) (AST) for mathematical expressions. Something like this: @@ -43,7 +43,7 @@ Which might be presented like this: 4 • 7 ``` -Or maybe we'd want to respresnt it as words: +Or maybe we'd want to presented it as words: ``` four multiplied by seven @@ -70,7 +70,9 @@ Or maybe graphically: You get the idea. -A well defined AST means we'd also be able to do transformations (such as evaulating it): +A well defined AST means we'd also be able to do transformations. + +We could take an expression like this: ```yaml type: root @@ -85,7 +87,7 @@ value: value: 7 ``` -Becomes: +And evaluate it to this: ```yaml type: root -- 2.51.2