usethesource / rascal

The implementation of the Rascal meta-programming language (including interpreter, type checker, parser generator, compiler and JVM based run-time system)
http://www.rascal-mpl.org
Other
407 stars 77 forks source link

Model Rewriting #569

Closed sirinath closed 10 years ago

sirinath commented 10 years ago

Is it possible to have rewriting concepts (perhaps borrowed from graph rewriting and other related research) for representing and manipulating models / schemas / ontologies / taxonomies and other structured and relational data such this can be used in designing visual frameworks and DSLs with mixed visual and text elements. You should be able to apply the same concepts to structural objects which may be represented as graphs, tables, lists, sets, maps, bags, etc.

PaulKlint commented 10 years ago

We provide pattern matching and rewriting on lists, sets, relations, ... So this mostly provides what you ask for. One caveat is that we do not provide matching and transformation of graphs, we always represent graphs as relations.

sirinath commented 10 years ago

May be what you already have might be adequate. I am too much of a beginner as of now but some way to use model based / visual code generation would definitely be a plus. If MVC is used for the visual elements the model would be some structure like tables, graphs, etc.

Is it possible to add tutorials. It would be a shame to have a great product but no body uses it since they do not know how to use it.

jurgenvinju commented 10 years ago

Hi suminda. The community is still pretty small (a few hundred users, a handful developers) and we are bootstrapping it, so we agree! 

You can use the Figure library to generate visuals. Still under development. We are also experimenting with a d3 backend. — Jurgen J. Vinju CWI SWAT INRIA Lille UvA master software engineering http://jurgen.vinju.org

On Fri, May 2, 2014 at 5:19 AM, Suminda Dharmasena notifications@github.com wrote:

May be what you already have might be adequate. I am too much of a beginner as of now but some way to use model based / visual code generation would definitely be a plus. If MVC is used for the visual elements the model would be some structure like tables, graphs, etc.

Is it possible to add tutorials. It would be a shame to have a great product but no body uses it since they do not know how to use it.

Reply to this email directly or view it on GitHub: https://github.com/cwi-swat/rascal/issues/569#issuecomment-41981948

sirinath commented 10 years ago

When I mend Visuals I meant Visual DSLs like in Sirius (http://www.eclipse.org/sirius/), MetaEdit, JetBrains MPS up comming features.

At this point you have to encourage other to start using it. Docs will help in this. Lack of this would deter would be early adopters.