blob: a9d89879e2d780aec440848a650c55740cd9d92c (
plain) (
blame)
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
|
`
#def# #ID# [#VALUE#] set a macro
#fed# #ID# unset a macro
#cde# #VALUE# leave code as is
#ddo# #ID?# #DIR# if defined, don't skip next directive (Defined DO)
#udo# #ID?# #DIR# if undefined, skip next directive (UnDefined Do)
#inc# #FPATH# include a file
#ID# call a macro or flag
`
` example usage: `
#def# #VERSION# #"31.4.1"#
#ddo# #BSD#
#inc# #bsd_support.halk#
#udo# #OS#
#run# #
some-error-func."os not specified";
#
#def# #OSTYPE# #
os/shell."sysctl kernel.ostype"
#
io/print.#OSTYPE#
|