Home

Awesome

lambda-over-lambda

Roswell (Common Lisp) script into AWS Lambda converter

ALPHA QUALITY: Interfaces can be changed.

Prerequistes

Install

Use ros command or clone this repository manually.

TODO: quicklisp

ros install windymelt/lambda-over-lambda

Usage

% 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.

Interface

Arguments

Your MAIN function should receive handler and event object.

(defun main (handler event)
  ...)

Return value

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.