This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
print "HELLO WORLD !!!" | |
for line in sys.stdin: | |
print line |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |