diff --git a/README.md b/README.md index 71ef21e..e801659 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,26 @@ environment. Type `:help` for more information, or type in text in any supported programming language (currently only `schala-lang`) to evaluate it in the REPL. +### Examples + +Try running the following `schala-lang` code example in the REPL: + +``` +>> 1 + 1 +(Total time)=> 736.368µs +=> 2 +>> fn foo(x) { x + 10 } +(Total time)=> 772.496µs +=> +>> foo(0) +(Total time)=> 593.591µs +=> 10 +>> 5 + foo(1) +(Total time)=> 1.119916ms +=> 16 +>> +``` + ## History Schala started out life as an experiment in writing a Javascript-like