blob: a83faab4e7220ad76826416ae217e38fa50b520e [file] [log] [blame]
swissChili7a6f5eb2021-04-13 16:46:02 -07001#include "lisp.h"
2
3int main (int argc, char **argv)
4{
swissChilibed80922021-04-13 21:58:05 -07005 if ( argc < 2 )
6 {
7 puts ("pass the string you want to parse as the first argument please");
8 return 1;
9 }
10
11 struct istream *is = new_stristream_nt (argv[ 1 ]);
swissChili8cfb7c42021-04-18 21:17:58 -070012 value_t val;
swissChili7a6f5eb2021-04-13 16:46:02 -070013
14 while ( read1 (is, &val) )
15 {
16 printval (val, 0);
17 }
18
19 del_stristream (is);
20}