in reply to Re^6: How would you parse this?
in thread How would you parse this?
A goal ...
My goal is to parse this language.
This snippet looks like a meta-definition for a data type "Scalar" and how native types are casted.
Exactly correct.
It's just a shame that wasn't your first response; because it is insightful and right on the money.
I have no idea what you intend to do with this information in Perl.
(Not that it should matter but...) nothing.
I want to use Perl -- my favorite text mangling tool -- to parse the source and produce something that can be fed to a program written in an entirely different language that will then execute that something.
I'm sure someone is playing a joke on you
Nope. No joke. Just revisiting a long-standing problem that is now reaching the point where I cannot put it off much longer.
|
|---|