NOTE: For the latest LOLCODE language features, including a standard library (CAN HAS STDIO?
), networking (CAN HAS SOCKS?
), strings (CAN HAS STRING?
), and more, please use the future
branch (see an example at https://github.com/justinmeza/httpd.lol/blob/master/httpd.lol)! The main
branch is maintained for backwards compatibility with the LOLCODE 1.3 language specification (https://github.com/justinmeza/lolcode-spec/tree/master/v1.3
), but all future development should be done on the future
branch.
Copyright (C) 2010-2014 Justin J. Meza
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
lci is a LOLCODE interpreter written in C and is designed to be correct, portable, fast, and precisely documented.
This project's homepage is at http://lolcode.org. For help, visit http://groups.google.com/group/lci-general. To report a bug, go to http://github.com/justinmeza/lci/issues.
Created and maintained by Justin J. Meza [email protected].
You must have CMake installed (www.cmake.org). a) If you're using a Linux distro with package managment CMake should be in your repositories.
Python 2.7+ or Python 2.x with the argparse module installed.
$ ./install.py -h
will display a list of relevant install options. For example, if I wanted to install lci to the directory "/home/kurtis/opt" I would run:
$ ./install.py --prefix="/home/kurtis/opt"
$ cmake .
You can also provide any other argument to the CMake configuration process you'd like. To enable Memory testing turn the PERFORM_MEM_TESTS option on like so:
$ cmake -DPERFORM_MEM_TESTS:BOOL=ON .
You can also use the "ccmake" command or the CMake GUI if you prefer. See the cmake documentation for more details.
$ make
$ make install
$ make docs
$ ctest
(Note that the instructions were written from the point of view of Windows 7, but in practice, any modern version will work.)
Start > right-click Computer > Properties > Advanced system settings
Environment Variables....
Select the "PATH" variable and click "Edit...".
Add ";C:MinGWbin;C:Python32" to the end.
Run as administrator.
cd C:Users%user%Documentslci
install.py -h
will display a list of relevant install options. For example, if I wanted to install lci to the directory "C:Program Fileslci" I would run:
install.py --prefix="C:/Program Files/lci"
(notice that forward slashes are used to separate directories.)