Re: newbie: m-expressions



falcon wrote:
Although I don't appreciate the syntax completely, I'm starting to see
the elegance.  I think I'm well on my way to being convinced of Lisp's
greatness, but the application for which I started looking at LISP will
require average technical people to interact with it.  Think of a
database with stored procedure language.  I can build my database
management system in a language of my own choice (let's say lisp) but
when I provide a language for the end-user, it needs to be like
C/C++/Java/etc. (just an example).

Now I can parse my language and translate it to Lisp...but if there is
a well thought-out standard way of doing it (I hoped M-Expressions were
it) then it makes it easier for me.

Just make your programming language XML-based. Then you get the power of S-expressions with the marketability of XML. The same people who hate reading (or (> x y) (func?)) will be fine with the XML equivalent:


<or>
  <greater-than>x y</greater-than>
  <func />
</or>

  -- MJF
.



Relevant Pages

  • Re: ILC2005: McCarthy denounces Common Lisp, "Lisp", XML, and Rahul
    ... >> the language should be available to users. ... In the design of Common Lisp, I asked Dave Moon (one of the architects ... Now, there are good kinds of low-level, like the way that floats are ...
    (comp.lang.lisp)
  • Re: CollabRx seeks brilliant engineers for an excellent e-science adventure
    ... belief that lisp programmers are smarter/better. ... Java or PHP programmers. ... a type of language that attracts a personality that meets my perceptions ...
    (comp.lang.lisp)
  • Re: Whats the best language to learn...
    ... on processors designed to run Lisp and Lisp OSes. ... byte-addressed memory, has native support for variable-sized value types, ... popular OO language, rather a language about like that of Delphi would have ... lisp, java, ruby, etc. ...
    (comp.programming)
  • Re: Program compression
    ... TM> supported by your favorite language (LISP) are good concepts. ... then call the Java compiler to compile that source file to a Class ... TM-STC> Since static type checking makes run-time type checks unnecessary, ...
    (comp.programming)
  • Re: Is anybodys favorite computer programming language not included here?
    ... to talk about getting me some paying work writing Java classes. ... and could be copied to a script (as in Java BeanShell or Lisp PROG). ... >> please post a followup saying what language it is, ... Server: "Mother, ...
    (comp.programming)