Hi List,
say I have this piece of Emacs Lisp print syntax I want to store in PicoLisp:
,------------------------
| #("A" 0 1 (:parent 1))
`------------------------
My best idea is to write a function
,--------------------------------------------
| (de hashtag (Lst)
| ... return Lst with leading hashtag... )
`--------------------------------------------
and replace the Emacs Lisp print syntax (using Emacs Lisp itself) with
,------------------------
| (hashtag ("A" 0 1 (:parent 1)))
`------------------------
This is then used as data in PicoLisp, but needs to be transformed back
to its original (string) format - by evaluating function 'hashtag' =>
,------------------------
| "#(\"A\" 0 1 (:parent 1))"
`------------------------
Now I tried 'pack', 'glue', 'text' - to no avail.
What must function 'hashtag' do to return (as a string) argument Lst
with # attached to the opening parenthesis?
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe