Skip to content

Instantly share code, notes, and snippets.

import sys
print "HELLO WORLD !!!"
for line in sys.stdin:
print line
@tomprince
tomprince / JSON.v
Created November 10, 2011 23:33 — forked from wires/JSON.v
"server side" for Soq
Require Import Utf8 String ZArith.
(* IO is done through this JSON inductive type *)
Inductive JSON :=
| JObject : list (string * JSON) → JSON
| JArray : list JSON → JSON
| JString : string → JSON
| JNumber : Z → JSON
| JBool : bool → JSON
| JNull : JSON.