[F-Script-talk] FSClass 2.0 and command-line fscript 1.5
Brought to you by:
pmougin
From: Andrew W. <wei...@wi...> - 2007-08-16 06:44:05
|
FSClass 2.0 is now available. FSClass is a bundle that lets you write new classes directly in F-Script, instead of having to code them in Objective-C. Classes created with the bundle produce authentic Cocoa objects that interact with the rest of the application just like an NSString or other native object. New features in FSClass 2.0 include: - Classes can now inherit from Objective-C classes other than NSObject - F-Script categories: methods written as F-Script blocks can be added to existing Objective-C classes, even those for which source code is unavailable - More efficient dispatching: the overhead cost of calling a FSClass's method is cut by up to 95% - Fast ivars: classes can optionally be created with reduced- footprint properties that have native-speed property access methods - Improved compatibility with GUI F-Script interpreter - Various stability improvements, bug fixes, and performance enhancements - Clarified documentation and examples FSClass 2.0 is available for download at http://pages.cs.wisc.edu/ ~weinrich/projects/FSClass In addition, version 1.5 of the fscript command-line interpreter is now available. This program lets you run script files and use an interactive F-Script prompt inside a Terminal window or over SSH. The program includes numerous enhancements and extra features, like printf, regular expressions, and line-oriented file IO, that make F- Script more suited as a general-purpose system scripting language. New features in fscript 1.5: - Added a help object with information on importing files, quitting the interpreter, and current versions - Clarified messages for 'file not found' errors - '-v' command-line option that prints the current version of the command-line interpreter, the F-Script framework, and the regular expression library - '-c' command-line option that perform a syntax check without executing the file - The interactive interpreter can now be quit by typing 'Control-D' as well as 'sys exit' - AGRegex7 framework updated to PCRE (Perl-Compatible Regular Expressions) version 7.2 - Included several useful scripts in the Library/ directory (requires FSClass) - Fixed formatting errors in [-NSString sprintf:] and [-FSFile printf:withValues:] - Miscellaneous bug fixes fscript is available for download at http://pages.cs.wisc.edu/ ~weinrich/projects/fscript Andrew Weinrich wei...@cs... http://pages.cs.wisc.edu/~weinrich |