mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 21:14:28 -08:00
fix markdown
This commit is contained in:
10
README.md
10
README.md
@@ -7,34 +7,43 @@ Leporello.js is live coding IDE for pure functional subset of javascript. It pro
|
|||||||
## Features
|
## Features
|
||||||
|
|
||||||
- Mutating values is not allowed
|
- Mutating values is not allowed
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
- All values are immutable. You create new values by applying change to old values
|
- All values are immutable. You create new values by applying change to old values
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
- Functional programs are trees of expressions that map values to other values,
|
- Functional programs are trees of expressions that map values to other values,
|
||||||
rather than a sequence of imperative statements which update the running
|
rather than a sequence of imperative statements which update the running
|
||||||
state of the program. Because data is never mutated, you can jump to any
|
state of the program. Because data is never mutated, you can jump to any
|
||||||
point in execution of your program
|
point in execution of your program
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
- and inspect any intermediate values
|
- and inspect any intermediate values
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
- Expressions that were evaluated have blue background. And that were not reached
|
- Expressions that were evaluated have blue background. And that were not reached
|
||||||
have white background.
|
have white background.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
- Expressions that throw errors are red
|
- Expressions that throw errors are red
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
- When you put cursor inside function, the first call of this function is found
|
- When you put cursor inside function, the first call of this function is found
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
- You can edit this function and immediately see result
|
- You can edit this function and immediately see result
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
- Leporello is (mostly) self-hosted, i.e. built in itself
|
- Leporello is (mostly) self-hosted, i.e. built in itself
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
@@ -103,6 +112,7 @@ node test/run.js
|
|||||||
```
|
```
|
||||||
|
|
||||||
run tests in leporello itself:
|
run tests in leporello itself:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
- grant local folder access
|
- grant local folder access
|
||||||
|
|||||||
Reference in New Issue
Block a user