Skip to content
Roswell (Common Lisp) script into AWS Lambda converter
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
roswell
templates
.gitignore
Dockerfile
Makefile
README.md
docker-compose.yml
you-should-try-convert-this-script.ros

README.md

lambda-over-lambda

Roswell (Common Lisp) script into AWS Lambda converter

ALPHA QUALITY: Interfaces can be changed.

Prerequistes

  • roswell (common lisp implementation manager)
  • docker (container tool)
  • docker-compose (container orchestration tool)
  • make (build tool)
  • zip

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.

  • Handler is passed as string.
  • Event is passed as JSOWN object.
    • true is translated into t.
    • false is translated into :f.
    • null is translated into :null.
    • [] is translated into nil.
(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.

You can’t perform that action at this time.