Slashdot Mirror


XL Compiler Bootstrapped

descubes inputs: "An XL compiler bootstrapped two days ago (that means it compiled itself). Take a look at the project homepage to discover this language, designed around concept programming ideas, which is a sort of cross between C++, Lisp and XML. Much help is now needed to improve this rudimentary first iteration." One thing to note is that the C++ version of the compiler came in at 4500 lines, while the XL equivalent came in at some 2700 lines. This seems to imply that XL may be easier to work in than C/C++. Might XL someday be nudging the old workhouse out of a job in the near future?

2 of 80 comments (clear)

  1. Re:4500 vs. 2700? by CrypticSparrow · · Score: 3, Insightful

    Its a big mistake to confuse number of lines with a "better" language.
    To me, "better" means to more readable, more maintainable, compiles to better object core, etc, etc.
    Who cares how many lines it needs?

    --
    "It is difficult to catch a black cat in a dark room. Especially if there is no cat there." - Confucius
  2. So exactly what is the language? by grotgrot · · Score: 3, Insightful

    The web site seems to completely lack examples. It also isn't apparent how they do 'objects' (ie bundles of data and the functions that operate on them). It just looks like a very poor man's version of Python to me.