view src/ploki/README @ 6600:6574ac73ed8a

<izabera> ` base64 -d <<< H4sIAAhyqVYCAy2NQQ6CMBRE9z3F+MNCE2zEHQvWXsCdYtLKJxKx39ASMA13F9DVzLzMZGxhJYSWYYptJCd4ScdILPk0u86axqPWeT7RymaRGpa5ox2GgsQhPBiDaVtSY7Gls3kyxDEqGVyKt/EeTYDppHcVgU6CIOvGh+XIuAq2/8DLi9dr2qlaOjRoHGKea32YVCWK7w8BJdFcmvI2IRlS/MKkVRLHy2Z2f7TPyqWgad45/gLSidNX4AAAAA== | zcat > 99
author HackBot
date Thu, 28 Jan 2016 01:46:05 +0000
parents ac0403686959
children
line wrap: on
line source

DESCRIPTION

This is the ploki package. ploki is a programming language defined
by its implementation and designed by accident. There are short example
scripts in the examples/ subdirectory. You might want to copy
syntax/ploki.vim and indent/ploki.vim into your ~/.vim/ directory if you're
using vim; to get automatic filetype detection, create filetype.vim as
described in :help new-filetype and add the following entry:
    au BufNewFile,BufRead *.pk          setf ploki

See the files in doc/ for a description of the language.

BUILDING

You need a C compiler. Compile all *.c files into a single executable called
'ploki'. That's it.

If you have make, typing 'make ploki' should invoke your C compiler with the
right arguments. You may need to adjust some configuration variables: CC is
the C compiler used; CFLAGS are default arguments for the compiler; LDFLAGS
are default arguments for the linker.

You should edit MakeSkel if you're using GNU make, Makefile otherwise. Note
that Makefile is autogenerated by GNU make from MakeSkel and *.depend.

There is no 'configure' script; ploki is almost completely standard C and
should Just Work(TM). But have a look at config.h if you want to tweak the
autodetection of gcc, C99, presence of /dev/urandom, etc.


Have fun!
Lukas Mai