FamixTypeScript

Details

Source
GitHub
Dialect
pharo (40% confidence)
Stars
5
Forks
2
Created
Oct. 27, 2021
Updated
Jan. 14, 2026
Topics
moose pharo

Categories

System / OS

README excerpt

# FamixNG Metamodel for TypeScript.

[![Smalltalk CI](https://github.com/fuhrmanator/FamixTypeScript/actions/workflows/push_ci.yml/badge.svg)](https://github.com/fuhrmanator/FamixTypeScript/actions/workflows/push_ci.yml)

This project is normally synchronized with [FamixTypeScriptImporter](https://github.com/fuhrmanator/FamixTypeScriptImporter) as it is the FamixNG metamodel it supports.

## Metamodel documentation (visualization)

The following was generated by CI.

![FamixTypeScript Metamodel](./doc-uml/FamixTypeScript-traits.svg)

## Loading from a playground

This version works in Moose 11. 

```st
Metacello new
	githubUser: 'fuhrmanator' project: 'FamixTypeScript' commitish: 'master' path: 'src';
	baseline: 'FamixTypeScript';
	load
```

Note to students: If you're working with a fork of this project, you should change the `githubUser` above to match your fork.

## Loading a FamixTypeScript model (from importer)

Assuming the model is in `entity.json` and you've cloned your repos in the same `GitHub` tree:

```st
'../../../GitHub/FamixTypeScriptImporter/entity.json' asFileReference 
	readStreamDo: [ :stream | model := FamixTypeScriptModel new
	importFromJSONStream: stream. model install ]. 
```
← Back to results