Archives

  • Updating the newLISP MySQL5 module

    It has been a very busy few weeks here. This is the time of year when work gets very rushed, and on top of that, my wife and I are expecting. Due to all of that, I have decided against finishing the C Libraries tutorial for newLisp at this time. The reason that I had [...]

    Aug 1st, 2007 | Filed under Programming
    Tags: ,
  • Using C libraries in newLISP

    The past couple of articles have been tutorials on how to use CFFI to access functions from C libraries in Lisp. Out of completeness, I thought I’d write a short tutorial demonstrating how much easier it is to do the same thing in newLisp. As newLisp is an entirely interpreted language, this built in functionality [...]

    Jul 14th, 2007 | Filed under Programming
    Tags: ,
  • Nested contexts in newLISP

    newLisp does not have nested contexts. This is because contexts are not OO-style objects, although they can be used to prototype other contexts. In fact, contexts are name spaces that can be manually created as needed. However, since they create efficient hashes that can be used for many of the same purposes as objects (such [...]

    Jun 21st, 2007 | Filed under Programming
    Tags:
  • Validating parameter format

    newLisp is a loosely-typed language. However, if you are developing a library or module that other projects may mix into their own code, it is useful to give helpful errors when a function receives incorrect input. Especially if your documentation is lax (which we know it never is), throwing usable errors when a function is [...]

    Jun 19th, 2007 | Filed under Programming
    Tags:
  • Simple error handling in newLISP

    When I first began to program newLisp, I was concerned that it lacked the structured error handling syntax of the imperative languages I was used to. As my software begins to mature and I add more sophisticated error handling, I find that newLisp’s simple functions result in cleaner, more expressive code. Submit article

    Jun 12th, 2007 | Filed under Programming
    Tags:
Posts Tagged ‘newlisp’