diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-10-20 23:00:40 +0300 | 
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-10-23 18:25:23 +0300 | 
| commit | 55428637a8536764a82693c19d76e61a6f557627 (patch) | |
| tree | f2998ad3b9483acdf6b7aa29a665061e51f500d5 /examples | |
| parent | fe66fcdb1549b380fad440320e50e332f409efd3 (diff) | |
| download | lyn-55428637a8536764a82693c19d76e61a6f557627.tar.gz lyn-55428637a8536764a82693c19d76e61a6f557627.zip | |
add command continuations
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/echo.lyn | 2 | ||||
| -rw-r--r-- | examples/multiline.lyn | 3 | 
2 files changed, 5 insertions, 0 deletions
| diff --git a/examples/echo.lyn b/examples/echo.lyn new file mode 100644 index 0000000..bfaa9ae --- /dev/null +++ b/examples/echo.lyn @@ -0,0 +1,2 @@ +use-modules (ice-9 readline) +display (readline "Type something: ") diff --git a/examples/multiline.lyn b/examples/multiline.lyn new file mode 100644 index 0000000..8cb0653 --- /dev/null +++ b/examples/multiline.lyn @@ -0,0 +1,3 @@ +if (< 10 20) \ +	{display "math works"; newline} \ +	{display "what"; newline} | 
