Update: 0.3.5 contained a major bug that causes most applications to break. This has been fixed in the minor updated 0.3.5.1. Sorry for the inconvenience.

Version 0.3.5 of mobl has been released. Mobl is a language for rapid development of mobile web applications using HTML5 technologies. Programs written in the mobl language are compiled to a combination of HTML, Javascript and CSS and can run on any webkit browser, specifically those on iOS and Android devices.

New in this version since 0.3.4:

  • More robustness in the user interface when a property is null (now just shows null, no longer crashes)
  • No longer shows a blank screen while loading the application (or when Javascript is disabled).
  • Beginnings of a testing library (mobl::test). More a starting point than anything else. Want to contribute? Follow these instructions and send me a pull request (the code for mobl::test is here). Here’s a sample app, using tests:

    application testapp
    import mobl::ui::generic
    import mobl::test
    testSuite("math", {
      assertEqual(2, Math.round(3/2), "Rounding");
    });  
    testSuite("main tests", {
      assert("Zef" != "Zef", "this will likely fail");
    }); 
    screen root() {
      header("Tests")
      testRunner()
    }
    

To install, follow these instructions. To upgrade, simply upgrade from the update site (Via Help > Install new software).