Open Source
cpdq.txt
Associated article: C Preprocessing With Tcl
Tags: Open Source
Published source code accompanying the article by Jonathan Arney in which he presents CPDQ, a utility that uses Tcl for more sophisticated preprocessing than CPP. CPDQ's C API makes it easy both to extend the language and embed the interpreter into other applications. Also see CPDQ.ZIP.
C Preprocessing With Tcl
by Jonathan Arney
Example 1:
(a)
set a "abcdefg"
puts stdout $a
(b)
proc print_a_string {a} {
puts stdout $a
}
print_a_string "abcdefg"
Example 2:
(a)
#$
set include_file "<stdio....


