how to develop domain specific language on top of another language ?

Posted by sofreakinghigh on Stack Overflow See other posts from Stack Overflow or by sofreakinghigh
Published on 2010-05-06T01:54:58Z Indexed on 2010/05/06 1:58 UTC
Read the original article Hit count: 265

say i found a good open source software/library written in python. i want to wrap some of the functions or methods that i have created into easy to understand language of my own.

do porter_stemm(DOC) (the DSL) would be equivalent to the function or series of methods written in python.

i want to create a DSL that is easy to learn, but need this DSL translated into the original open source software software.

im not sure if i am clear here but my intention is:

  1. create an easy to learn code language that users can use to solve a problem in a certain niche.
  2. this simple language needs to be translated or compiled or interpretated via some middleware into the original open source software's language (python).

© Stack Overflow or respective owner

Related posts about domain

Related posts about domain-specific-languages