Roswell (Common Lisp) script into AWS Lambda converter
ALPHA QUALITY: Interfaces can be changed.
- roswell (common lisp implementation manager)
- docker (container tool)
- docker-compose (container orchestration tool)
- make (build tool)
- zip
Use ros command or clone this repository manually.
TODO: quicklisp
ros install windymelt/lambda-over-lambda
% lambda-over-lambda script-to-convert.ros
=> you will get out.zip (overwritten)
You can get help by ./roswell/lambda-over-lambda.ros
without any arguments.
Your MAIN
function should receive handler and event object.
- Handler is passed as string.
- Event is passed as JSOWN object.
true
is translated intot
.false
is translated into:f
.null
is translated into:null
.[]
is translated intonil
.
(defun main (handler event)
...)
Your MAIN
function should return JSOWN object.
(defun main (handler event)
...
'(:obj ("result" . "ok")))
Try see you-should-try-convert-this-script.ros
and convert it.