LIL (Little Interpreted Language) is a small highly dynamic scripting language inspired by Tcl and unix shells. The language has two implementations: one in C which consists of a pair of c and h files and one in Free Pascal which consists of a single pas file (a unit). Also a Lazarus package for the latter is provided. The library is written by Kostas "Bad Sector" Michalopoulos and licensed under the zlib license. From this site you can download an archive containing the latest version of both the C and Free Pascal implementations, some examples and documentation.
Download lil20161129.zip latest version (88KB). Changes:
Download lil20160812.zip (88KB). Changes:
- Fixes inc and dec functions bugs in both C LIL and FPLIL that caused the result to become zero when two floats were added/subtracted and the result became an integer
Download lil20160603.zip (88KB).
- Fixes a memory leak in the Free Pascal version of LIL
- Makes C LIL's rename to delete a function if it is renamed to nothing.
If you have Windows, you can also download WinLIL 1.1 (196KB) a small Windows based environment with editor, console and extra graphics functions that can be used to experiment with LIL (screenshot). It is self-contained in a single executable, including the LIL documentation. Version 1.1 (20170425) fixes a couple of bugs from the previous version 1.0, like autoalignment in the editor, size event firing for the canvas and (not) displaying event code value.
You can also get the source code (34KB), although keep in mind that the program was made using an ancient version (the first one actually) of Borland C++ Builder.
For an example of WinLIL code (which also doubles as how LIL looks) check this doodle program (screenshot).
An old presentation from 2012. Note that the URLs are not valid anymore:
LIL - Little Interpreted Language
Copyright (C) 2010-2016 Kostas Michalopoulos
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
Kostas Michalopoulos <email@example.com>
Back to runtimeterror.com