You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>LIPS is poweful Scheme based lisp language written in JavaScript. The name is recursive acronym which stands for LIPS is Pretty Simple. The interpreter have very good integration with JavaScript.</p>
86
87
<p>Key features of the interpreter:</p>
87
88
<ul>
88
-
<li>Implementation of Lisp Macros, backquote and macroexpand,</li>
89
-
<li>Runs in Browser and NodeJS,</li>
90
-
<li>Familiar Scheme like Syntax,</li>
91
-
<li>Functions in LIPS are normal javascript functions,</li>
92
-
<li>Builtin documentation for macros and functions (use help in REPL),</li>
93
-
<li>Library agnostic with almost no dependencies,</li>
94
-
<li>You can invoke native JavaScript functions and methods from LIPS,</li>
95
-
<li>Promises are treated as values they resolve to (so async code look like sync - like auto <code><strong>async/await</strong></code>),</li>
96
-
<li>Easy extension using JavaScript using Macros or functions,</li>
97
-
<li>Regexes are first class objects same as macros that are resolved at runtime,</li>
98
-
<li>BigInt support (for browsers that don't have native support you will need <ahref="https://github.com/indutny/bn.js/">bn.js</a>),</li>
99
-
<li>Optional dynamic scope (like in Emacs Lisp),</li>
100
-
<li>Node.js and Web based Interpreter (REPL).</li>
89
+
<li>Literal regular expression.</li>
90
+
<li>Great integration with JavaScript.</li>
91
+
<li>Asynchronous execution (auto resolving of promises).</li>
92
+
<li>Possibility to add new syntax (similar to vectors and object).</li>
93
+
<li>Numerical tower and Big Integer support.</li>
94
+
<li>Powerful introspection.</li>
95
+
<li>Auto formatting lisp of code (pretty print)</li>
96
+
<li>Lisp and hygienic Scheme macros and macroexpand.</li>
97
+
<li>Builtin help system.</li>
101
98
</ul>
102
99
</section>
103
100
<sectionid="demo">
104
-
<header><h2>Demo</h2></header>
105
-
<p>Check <ahref="https://github.com/jcubic/lips/wiki/Getting-Started">Getting Started Guide</a> and
106
-
try the interpreter while you will read the document.</p>
<p>Check <ahref="https://github.com/jcubic/lips/wiki/Everything-you-need-to-know-about-Scheme">Everything you need to know about Scheme</a> and try the interpreter while you will read the document.</p>
103
+
<p>You can also look at <ahref="https://github.com/jcubic/lips/wiki/v1.0.0">Doumentation for 1.0.0</a> (WIP).</p>
107
104
<divclass="tabs">
108
105
<ul>
109
106
<li><ahref="#">lexical</a></li>
@@ -117,10 +114,6 @@ <h1>
117
114
</div>
118
115
</div>
119
116
</section>
120
-
<sectionid="beta">
121
-
<header><h2>1.0.0 Beta version</h2></header>
122
-
<p>To test latest beta implementation of the interpreter, check <ahref="/beta.html">LIPS Beta Demo</a>. Documentation (WIP) for version 1.0.0 can be found on <ahref="https://github.com/jcubic/lips/wiki/v1.0">Wiki</a>.</p>
123
-
</section>
124
117
<sectionid="bookmark">
125
118
<header><h2>Bookmarklet</h2></header>
126
119
<p>When you're learning Scheme language, you can run the REPL directly on any page that
@@ -149,25 +142,27 @@ <h1>
149
142
<p>When using LIPS interpreter in browser you need to include the main script file.</p>
150
143
<p>If you want to use Webpack see <ahref="https://github.com/jcubic/lips/wiki/Webpack">wiki page</a> for details.</p>
<p>You can put LIPS code directly in script tag:</p>
155
152
<pre><codeclass="language-markup">
156
-
<script type="text/x-lips">
157
-
(print "hello")
158
-
;; this will load and evaluate external file
159
-
(load "example.lips")
160
-
<script>
153
+
<script type="text/x-scheme" bootstrap>
154
+
(let ((what "world")
155
+
(greet "hello"))
156
+
(display (string-append "hello" " " what)))
157
+
</script>
161
158
</code></pre>
159
+
<p><strong>NOTE:</strong> If you want to load started library, you should use boostrap attribute that will load it for you. You can optionaly specify the location of the files.</p>
162
160
<p>You can also use src attribute to link to source file.</p>
Copy file name to clipboardExpand all lines: index.tmpl
+49-53
Original file line number
Diff line number
Diff line change
@@ -11,25 +11,21 @@
11
11
<p>LIPS is poweful Scheme based lisp language written in JavaScript. The name is recursive acronym which stands for LIPS is Pretty Simple. The interpreter have very good integration with JavaScript.</p>
12
12
<p>Key features of the interpreter:</p>
13
13
<ul>
14
-
<li>Implementation of Lisp Macros, backquote and macroexpand,</li>
15
-
<li>Runs in Browser and NodeJS,</li>
16
-
<li>Familiar Scheme like Syntax,</li>
17
-
<li>Functions in LIPS are normal javascript functions,</li>
18
-
<li>Builtin documentation for macros and functions (use help in REPL),</li>
19
-
<li>Library agnostic with almost no dependencies,</li>
20
-
<li>You can invoke native JavaScript functions and methods from LIPS,</li>
21
-
<li>Promises are treated as values they resolve to (so async code look like sync - like auto <code><strong>async/await</strong></code>),</li>
22
-
<li>Easy extension using JavaScript using Macros or functions,</li>
23
-
<li>Regexes are first class objects same as macros that are resolved at runtime,</li>
24
-
<li>BigInt support (for browsers that don't have native support you will need <a href="https://github.com/indutny/bn.js/">bn.js</a>),</li>
25
-
<li>Optional dynamic scope (like in Emacs Lisp),</li>
26
-
<li>Node.js and Web based Interpreter (REPL).</li>
14
+
<li>Literal regular expression.</li>
15
+
<li>Great integration with JavaScript.</li>
16
+
<li>Asynchronous execution (auto resolving of promises).</li>
17
+
<li>Possibility to add new syntax (similar to vectors and object).</li>
18
+
<li>Numerical tower and Big Integer support.</li>
19
+
<li>Powerful introspection.</li>
20
+
<li>Auto formatting lisp of code (pretty print)</li>
21
+
<li>Lisp and hygienic Scheme macros and macroexpand.</li>
22
+
<li>Builtin help system.</li>
27
23
</ul>
28
24
</section>
29
25
<section id="demo">
30
-
<header><h2>Demo</h2></header>
31
-
<p>Check <a href="https://github.com/jcubic/lips/wiki/Getting-Started">Getting Started Guide</a> and
32
-
try the interpreter while you will read the document.</p>
<p>Check <a href="https://github.com/jcubic/lips/wiki/Everything-you-need-to-know-about-Scheme">Everything you need to know about Scheme</a> and try the interpreter while you will read the document.</p>
28
+
<p>You can also look at <a href="https://github.com/jcubic/lips/wiki/v1.0.0">Doumentation for 1.0.0</a> (WIP).</p>
33
29
<div class="tabs">
34
30
<ul>
35
31
<li><a href="#">lexical</a></li>
@@ -43,10 +39,6 @@
43
39
</div>
44
40
</div>
45
41
</section>
46
-
<section id="beta">
47
-
<header><h2>1.0.0 Beta version</h2></header>
48
-
<p>To test latest beta implementation of the interpreter, check <a href="/beta.html">LIPS Beta Demo</a>. Documentation (WIP) for version 1.0.0 can be found on <a href="https://github.com/jcubic/lips/wiki/v1.0">Wiki</a>.</p>
49
-
</section>
50
42
<section id="bookmark">
51
43
<header><h2>Bookmarklet</h2></header>
52
44
<p>When you're learning Scheme language, you can run the REPL directly on any page that
@@ -75,25 +67,27 @@
75
67
<p>When using LIPS interpreter in browser you need to include the main script file.</p>
76
68
<p>If you want to use Webpack see <a href="https://github.com/jcubic/lips/wiki/Webpack">wiki page</a> for details.</p>
<p>You can put LIPS code directly in script tag:</p>
81
77
<pre><code class="language-markup">
82
-
<script type="text/x-lips">
83
-
(print "hello")
84
-
;; this will load and evaluate external file
85
-
(load "example.lips")
86
-
<script>
78
+
<script type="text/x-scheme" bootstrap>
79
+
(let ((what "world")
80
+
(greet "hello"))
81
+
(display (string-append "hello" " " what)))
82
+
</script>
87
83
</code></pre>
84
+
<p><strong>NOTE:</strong> If you want to load started library, you should use boostrap attribute that will load it for you. You can optionaly specify the location of the files.</p>
88
85
<p>You can also use src attribute to link to source file.</p>
0 commit comments