Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: Parsing Emacs Lisp sexpr?

by choroba (Cardinal)
on Apr 10, 2020 at 22:14 UTC ( [id://11115349]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! /usr/bin/perl
    use warnings;
    ...
    my $lisp = do { local $/; <> };
    my $value_ref = $grammar->parse(\$lisp, {semantics_package => 'main'})
    +;
    use Data::Dumper; print Dumper $value_ref;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11115349]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (2)
As of 2024-04-17 03:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found