Subjects » Programming » F-Script
Sun, Mar 7, 2010, 5:16pm F-Script Switching Options
There are many ways to think through the flow of a program, and times when certain constructs like switch statements are a nice option, even in a language with no syntactical support for it, per se. Philippe Mougin was discussing just such options in F-Script back in the Oughts. I had a need for switching in F-Script, and came up with a few versions that I found useful. [Read more…]
(3 comments, in Programming » F-Script)
Tue, Nov 17, 2009, 5:27pm Quick Text Substitution Hack via F-Script
This is just a quick hack example using F-Scirpt to add a feature to WriteRoom that isn't currently implemented. It's just one Cocoa API call away from doing what I want. This is not a permanent fix to my problem, but I thought it was neat enough to show others how F-Script can at least let you do little things quickly like this for those unfamiliar. [Read more…]
(4 comments, in Programming » F-Script)
Thu, Mar 29, 2007, 8:07pm F-Script Style Thoughts
Some thoughts on yesterday's experiment about F-Script in general.

I'm very happy with the power of the language, the speed, Objective-C class access, the class browser, and the interactive shell. That said, it is clear that the code I wrote today, which is much better than yesterday's code, F-Script is about on a par with Ruby for readability, imho. By which I mean, it's a bit harder to see what's going on than in a language like Python, or even (clean) Objective-C. One must impose a certain amount of self-restraint then, especially if you're on a project with others. [Read more…]
Thu, Mar 29, 2007, 6:01am F-Script Web Test Working
I was able to get a full test going of using F-Script as a scripting language to serve up a webpage. Heck it even validates properly (if only tentatively, though I'm not sure why not entirely). It uses a very primitive template file and just makes a simple table of x vs x to the 2.5th power. [Read more…]
(2 comments, in Programming » F-Script)