Arc Forumnew | comments | leaders | submitlogin
1 point by adm 5672 days ago | link | parent

option-b. Any advantages of using lisp for this than other languages?


1 point by shader 5672 days ago | link

Advantages of arc:

1) powerful macros 2) functional and imperative programing 3) strong tree handling functions

Disadvantages:

1) arc is somewhat slow. 2) arc has few libraries

There might be more, but lisp is just a programming language like everything else. It might be somewhat better, but odds are it won't be a "silver bullet".

-----

1 point by Adlai 5672 days ago | link

I think that Lisp can support good quality syntax parsers. An example of this, although it's not a full fledged language, is CatDancer's JSON parser built on top of a general-purpose parser library: http://hacks.catdancer.ws/parser-combinator-approach-to-json... (it's a long article, the relevant parts are the ones about the parser-combinator approach).

Also, it seems as though your in-house language isn't completely specified yet. One area where Lisp excels is implementing unspecified things, and changing them with great flexibility on-the-fly.

Shader mentioned that Arc is slow, and this does seem to be the case. If you really want to use a Lisp, and Arc is too slow, it's probably worth looking at a few other Lisps before turning to Option A -- there are very fast implementations of both Common Lisp and Scheme.

-----