Skip to content

Instantly share code, notes, and snippets.

@crcx
Forked from anonymous/gist:54c0b0015ee4e769701c
Last active February 6, 2016 14:01
Show Gist options
  • Save crcx/60d35392dc9ae5e7f7cf to your computer and use it in GitHub Desktop.
Save crcx/60d35392dc9ae5e7f7cf to your computer and use it in GitHub Desktop.
PaaS API Notes

Requests

/PaaS/0
  • get_pso
  • evaluate
    • source
  • memory_map
  • slice_contents
    • slice
  • dictionary
  • stack
  • errors
  • clear_errors
  • stack_and_errors
  • clear_stack
  • clear_stack_and_errors

Notes

PSO = Parable S(ession|napshot) Output

A PSO is currently a base64 encoded bzip2 compressed JSON string.

get_pso returns a PSO. All other requests require a PSO.

Consider

  • cache a prebuilt pristine pso to accelerate get_pso requests
  • pypy3 for backend

Front Ends

  • PaaS.py
  • PaaS.swift
  • PaaS.m|h
  • curl / bash

Documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment