hughperman / pure-lang

Automatically exported from code.google.com/p/pure-lang
0 stars 0 forks source link

Add nonstandard functions to the pure-csv module for reading/writing all internal Pure data types. #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Add nonstandard procedures to the pure-csv module for reading/writing
symbols, tuples, lists, rationals, complex values, and matrices from/to
comma separated value files.

Security when reading files needs to be addressed.

Original issue reported on code.google.com by ruckerrobert48@gmail.com on 30 Sep 2008 at 7:34

GoogleCodeExporter commented 8 years ago
> Security when reading files needs to be addressed.

Eddie, I implemented a Lisp-like special form 'quote' now, and 'eval' can now
evaluate quoted terms. Thus it's possible to do a safe parse of Pure 
expressions now,
e.g.:

> parse s::string = eval $ "quote ("+s+")";
> parse "1+1";
1+1

I guess that this solves your problem?

Original comment by aggraef@gmail.com on 8 Oct 2008 at 2:30

GoogleCodeExporter commented 8 years ago
Eddie, can we close this issue? Or do you plan to still work on it?

Original comment by aggraef@gmail.com on 1 Sep 2009 at 6:16

GoogleCodeExporter commented 8 years ago
Thanks for reminding me Albert. I had forgotten about this. I'll take another 
look at 
this after lunch today.

Original comment by ruckerrobert48@gmail.com on 1 Sep 2009 at 1:04

GoogleCodeExporter commented 8 years ago
Let's just close it. How do I close it?

Original comment by ruckerrobert48@gmail.com on 1 Sep 2009 at 7:35

GoogleCodeExporter commented 8 years ago
I just did. :)

Original comment by aggraef@gmail.com on 1 Sep 2009 at 9:17