> build scripts should be done in real languages! Build scripts are normal Fan scripts - see http://fandev.org/doc/docTools/Build.html.
> config files that mix code with configuration Fan has a built-in serialization format which is very much like a strongly typed JSON. You can use it to define script serialization files, or use the exact same format as expressions. Declarative programming is a strong element of Fan. See http://fandev.org/doc/docLang/Serialization.html. > But I agree that if the language were to wrap up an leverage java code > behind the scenes, that would be fine This is pretty much what Fan does - the Fan APIs are just nice wrappers which use the normal SDK under the covers. Although some key classes like Uri and DateTime are coded from scratch because what Java provides doesn't really cut it. > I haven't seen what java integration looks like in Fan Take a look at: http://fandev.org/doc/docLang/JavaFFI.html Here is a simple Swing app using Fan FFI: using [java] javax.swing using [java] java.awt.event class SwingDemo { Void main() { button := JButton("Click Me") { addActionListener |ActionEvent e| { JOptionPane.showMessageDialog(null, "<html>Hello from <b>Java</b><br/> Button $e.getActionCommand pressed") } } frame := JFrame("Hello Swing") { setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE) getContentPane.add(button) setBounds(100, 100, 200, 200) setVisible(true) } } } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaposse?hl=en -~----------~----~----~----~------~----~------~--~---
