You are not logged in. Login Now
 0-4          
 
Author Message
cross
The Lisp item. Mark Unseen   Sep 8 10:11 UTC 2010

This is for the discussion of Common Lisp.

(apply #'mapcar #'list m)
4 responses total.
sholmes
response 1 of 4: Mark Unseen   Feb 10 01:57 UTC 2011

okay I am asking for work related help :)


I need to parse a configuration file which looks somewhat like the 
elisp file for emacs. 
basically i will have a file like 

(var1 "value1") 
(var 2 
      (var3 
           (var4  1.2345) 
           (var5   True) )) 


is there any parser (preferably in c/c++ ) which I can use to create a 
tree out of this file ? 

sholmes
response 2 of 4: Mark Unseen   Feb 10 11:36 UTC 2011

well i found a couple if anyone else is interested
http://sexpr.sourceforge.net/
http://people.csail.mit.edu/rivest/sexp.html
papa
response 3 of 4: Mark Unseen   Nov 15 12:11 UTC 2018

I've been teaching myself #Lisp and have some observations and questions on
the Lispy way of coding. Too long to post here, but I hope you'll follow the
link and leave comments either here or on the wiki.
http://papa.myjp.net/scratch/wiki.cgi/ApproachesToLisp
papa
response 4 of 4: Mark Unseen   Nov 15 12:12 UTC 2018

 0-4          
Response Not Possible: You are Not Logged In
 

- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss