Re:The Frink programming language
by Jun8 on Friday July 23, 2010 @01:03PM
(#1541726)
I looked at the examples and they look awesome. One thing I didn't get, though: How will you keep in mind the various units etc? For example, it's great that Frink has the "beerbarrel" unit, but how would you know of this a priori if you have not used it before. There must be powerful search and/or completion mechanisms in the IDE to be able to use this effectively it seems.
[ Parent
| on HN ]
You can look up units or functions in Frink by just typing part of the name preceded by a question mark, or 2 question marks for more verbose output. For example,
?saturn
or
??saturn
will list the units that contain that substring. (The second example lists the units AND their values.) Typing
?barrel -> gallons
will list all the barrel sizes it knows and their volume in gallons. Cool!
Re:The Frink programming language
by simcop2387 on Friday July 23, 2010 @02:53PM
(#1542067)
Well that's one reason i originally started the project that i've been working on, Farnsworth. It was originally a direct clone of Frink but I have since decided that i want to take it in a different direction (in syntax and design). It's currently at the prototyping stage and is likely to change drastically (i have LOTS of drastic plans for it). I'm currently working on documentation and tests for the prototype so that i can understand what i broke and when. you can read more about the project at http://simcop2387.info/ The prototype is currently resource hungry and written in perl, but desgined for me to be easy to hack and change on so i can replace parts of it as i decide i don't like them.