Skip to content

Commit

Permalink
Changed README
Browse files Browse the repository at this point in the history
  • Loading branch information
codefionn committed Jun 23, 2024
1 parent aebe9e9 commit 1c731a2
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
This interpreter and programming language are subject to huge change.
```

pgcl - *pretty good calculator language* - is a language for basic
calculations. Designed for (*my*) rapid success doing calculations. It is also
an educational tool, which tries to visualize how functional programming
languages *could* work:
pgcl - *pretty good calculator language* - is a language for basic calculations
(a Python replacement). Designed for (*my*) rapid success doing calculations.
It is also an educational tool, which tries to visualize how functional
programming languages *could* work:

```
> add x y = x + y
Expand All @@ -29,8 +29,6 @@ match (1, 2) then (x, y) => (x + y)
>
```

It is a functional programming language.

Fundamentally this programming language reduces expressions. Expressions are
reduced as long as they cannot be reduced any longer. This means that the ``5 +
2`` reduced is ``7``, but also that ``3 + x`` is still ``3 + x``.
Expand Down

0 comments on commit 1c731a2

Please sign in to comment.