In this directory tree you'll find some user-contributed examples on using Lemon. All examples herein rely on the Lemon version from the parent folder.
A very simple calculator example, contributed by Serghei Iakovlev, public domain.
A bit more complex calculator example, contributed by Serghei Iakovlev, public domain.
Feel free to contribute your own examples. Each example should be in its own folder, to keep the repository well structured.
All examples in this directory tree must compile against the Lemon version provided in the parent folder. To allow automation of the build & test process, each example folder should contain a Makefile
with following targets:
all
test
clean
For a practical example, see calc/Makefile
.
Please, state clearly the license terms of your contributed examples (or the lack thereof), and provide at least a brief description of what the example does.
See also ../../CONTRIBUTING.md