Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Python to OCaml: Retrospective. Parent comment
It just converts a JSON-encoded list of strings into a Vec<String> doesn't it? That's what the other languages do:
* get data from some envvar
* decode it from json to an array/list/vector of strings
* concatenate argv[1..]to the result of (2)
* execute this new argslist (the first item being the name of the program)
It just converts a JSON-encoded list of strings into a Vec<String> doesn't it? That's what the other languages do:
* get data from some envvar
* decode it from json to an array/list/vector of strings
* concatenate argv[1..]to the result of (2)
* execute this new argslist (the first item being the name of the program)