Project

codemodels

0.0
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
Library to build models of code of different languages in a uniform way.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

= 0.0.2
>= 0
>= 0
 Project Readme

codemodels

codemodels is a library to represent and manipulate homogeneously Abstract Syntax Trees of different languages models.

It is based on RGen and RGen-Ext.

There are different gems which transform source code in models of the code. Currently they are:

DSLs based on EMF are planned to by supported using emf_jruby.

Codemodels can be used to perform analysis on different languages.

Features

It handles also the case in which different languages are hosted in the same file (for example a Javascript script inside an HTML page).

Most of the parsers permit also to associate each node with a precise point in the source code, so thath they could be used to implement layout-preserving refactoring.

Bitdeli Badge