⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 refv.html

📁 A very small LISP implementation with several packages and demo programs.
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>V</title><link rel="stylesheet" href="doc.css" type="text/css"></head><body><h1>V</h1><dl><dt><a name="val"><code>(val 'var) -> any</code></a><dd>Returns the current value of <code>var</code>.<p><pre><code>: (setq L '(a b c))-> (a b c): (val 'L)-> (a b c): (val (cdr L))-> b</code></pre><dt><a name="var"><code>(var sym . any) -> any</code></a><dd>Defines a class variable <code>sym</code> with the initial value<code>any</code> for the current class (in <code><ahref="refC.html#*Class">*Class</a></code>). See also <code><ahref="ref.html#oop">OO Concepts</a></code> and <code><ahref="refV.html#var:">var:</a></code>.<p><pre><code>: (class +A)-> +A: (var a . 1)-> 1: (var b . 2)-> 2: (show '+A)+A NIL   b 2   a 1-> +A</code></pre><dt><a name="var:"><code>(var: sym) -> any</code></a><dd>Fetches the value of a class variable <code>sym</code> for the currentobject <code><a href="refT.html#This">This</a></code>, by searching the propertylists of its class(es) and supperclasses. See also <code><ahref="ref.html#oop">OO Concepts</a></code>, <code><ahref="refV.html#var">var</a></code>, <code><ahref="refW.html#with">with</a></code>, <code><ahref="refM.html#meta">meta</a></code>, <code><a href="ref_.html#:">:</a></code>,<code><a href="ref_.html#=:">=:</a></code> and <code><ahref="ref_.html#::">::</a></code>.<p><pre><code>: (object 'O '(+A) 'a 9 'b 8)-> O: (with 'O (list (: a) (: b) (var: a) (var: b)))-> (9 8 1 2)</code></pre><dt><a name="vi"><code></code>(vi 'sym)<br>(vi 'sym 'cls)<br>(vi '(sym . cls))</a><dd>Opens the "vi" editor on the function or method definition of<code>sym</code>. A call to <code><a href="refL.html#ld">ld</a></code>thereafter will <code><a href="refL.html#load">load</a></code> the modifiedfile. See also <code><a href="refP.html#pp">pp</a></code>, <code><ahref="refD.html#*Dbg">*Dbg</a></code>, <code><ahref="refD.html#debug">debug</a></code> and <code><ahref="refP.html#pp">pp</a></code>.<p><pre><code>: (vi 'url> '+CuSu)  # Edit the method's source code, then exit from 'vi'-> T</code></pre><dt><a name="view"><code>(view 'lst) -> any</code></a><dd>Views <code>lst</code> as tree-structured ASCII graphics. See also <code><ahref="refP.html#pretty">pretty</a></code> and <code><ahref="refS.html#show">show</a></code>.<p><pre><code>: (view '(a (b c d) (e (f (g) (h) (i)) (j (k) (l) (m))) (n o p) q))+-- a|+---+-- b|   ||   +-- c|   ||   +-- d|+---+-- e|   ||   +---+-- f|   |   ||   |   +---+-- g|   |   ||   |   +---+-- h|   |   ||   |   +---+-- i|   ||   +---+-- j|       ||       +---+-- k|       ||       +---+-- l|       ||       +---+-- m|+---+-- n|   ||   +-- o|   ||   +-- p|+-- q</code></pre></dl></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -