-
Notifications
You must be signed in to change notification settings - Fork 4
Lignum edited this page May 16, 2018
·
2 revisions
Urn is a lisp dialect developed by SquidDev and demhydraz which focuses on minimalism. It compiles down to a standalone Lua file (works on 5.1, 5.2, 5.3 and JIT) which can be ran from the command line or in any program that has a Lua scripting environment. It has many modern features and a well-documented compiler interface and standard library.
It is possible to write Löve2D games in Urn using the Bindings. Here is an example of how you make a "Hello, world!" program for Löve2D using Urn:
(import love/love (defevent))
(import love/graphics)
(defevent :draw ()
(love/graphics/print "Hello World" 400 300))
Save this as main.lisp
, then do the following steps:
$ git clone https://gitlab.com/Lignum/urn-love2d-bindings.git love
$ urn main.lisp -o main
$ love .
Now your game is up and running!
- Need for Seeds, written for Lisp Game Jam 2018