Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Developing a microlanguage for non-perl programmers

by rje (Deacon)
on Dec 04, 2001 at 02:16 UTC ( [id://129212]=note: print w/replies, xml ) Need Help??


in reply to Developing a microlanguage for non-perl programmers

That sounds like fun!

Suaveant's suggestion of writing a filter (in perl, of
course) sounds like a good one.

I'd suggest you stay as close to perl as you can,
unless the syntax is just too wierd. Non-programmers
can handle some level of syntax... but then I'm assuming...

On the other hand, your proposed syntax looks fine.

Hey, have you thought of using an OO approach? Could
you define a perl object to contain your data + the
methods used to manipulate that data? For example,
would the chemists understand this kind of syntax?

loop $i (1 to 50) new data; data.read( datafile.$i ); data.shift( 0.05 ); data.normalize( constant=1.0 ); data.write( outfile.$i ); # note: could perl eval() the stuff in parentheses? endloop
Anyhow, don't forget to post a reply to let us know
what you're deciding and how it's going.

-Rob

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2024-04-19 16:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found