-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmishell-docs.factor
78 lines (63 loc) · 1.28 KB
/
mishell-docs.factor
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
! Copyright (C) 2016 .
! See http://factorcode.org/license.txt for BSD license.
USING: help.markup help.syntax kernel strings ;
IN: mishell
ARTICLE: "cheatsheet" "CheatSheet"
"To recurse subdirectories:"
$nl
{ $code "USE: io.directories.search" "\"M:/i\" [ \".txt\" tail? ] find-all-files" }
$nl
"Simple serialization:"
$nl
{ $code
"\"saved.factor\" utf8 [ ... ] with-file-writer"
"\"saved.factor\" parse-file call" }
;
HELP: <mishell-cfg>
{ $values
{ "x" null }
}
{ $description "" } ;
HELP: default-process-reader
{ $values
{ "cmd" null }
{ "stream" null }
}
{ $description "" } ;
HELP: dump-words
{ $values
{ "vocab" "a vocabulary specifier" } { "path" "a pathname string" }
}
{ $description "" } ;
HELP: ls
{ $values
{ "dir" null }
{ "files" null }
}
{ $description "" } ;
HELP: mishell-cfg
{ $var-description "" } ;
HELP: mishell-current-cfg
{ $var-description "" } ;
HELP: parsing-raw
{ $values
{ "accum" null } { "end" null }
}
{ $description "" } ;
HELP: r|
{ $description "" } ;
HELP: set-default-cfg
{ $values
{ "enc" null } { "env" null }
}
{ $description "" } ;
HELP: take-until
{ $values
{ "end" null } { "lexer" null }
{ "string" string }
}
{ $description "" } ;
ARTICLE: "mishell" "mishell"
{ $vocab-link "mishell" }
;
ABOUT: "mishell"