4223
|
1 DESCRIPTION
|
|
2
|
|
3 This is the ploki package. ploki is a programming language defined
|
|
4 by its implementation and designed by accident. There are short example
|
|
5 scripts in the examples/ subdirectory. You might want to copy
|
|
6 syntax/ploki.vim and indent/ploki.vim into your ~/.vim/ directory if you're
|
|
7 using vim; to get automatic filetype detection, create filetype.vim as
|
|
8 described in :help new-filetype and add the following entry:
|
|
9 au BufNewFile,BufRead *.pk setf ploki
|
|
10
|
|
11 See the files in doc/ for a description of the language.
|
|
12
|
|
13 BUILDING
|
|
14
|
|
15 You need a C compiler. Compile all *.c files into a single executable called
|
|
16 'ploki'. That's it.
|
|
17
|
|
18 If you have make, typing 'make ploki' should invoke your C compiler with the
|
|
19 right arguments. You may need to adjust some configuration variables: CC is
|
|
20 the C compiler used; CFLAGS are default arguments for the compiler; LDFLAGS
|
|
21 are default arguments for the linker.
|
|
22
|
|
23 You should edit MakeSkel if you're using GNU make, Makefile otherwise. Note
|
|
24 that Makefile is autogenerated by GNU make from MakeSkel and *.depend.
|
|
25
|
|
26 There is no 'configure' script; ploki is almost completely standard C and
|
|
27 should Just Work(TM). But have a look at config.h if you want to tweak the
|
|
28 autodetection of gcc, C99, presence of /dev/urandom, etc.
|
|
29
|
|
30
|
|
31 Have fun!
|
|
32 Lukas Mai
|