Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fuhrmanator/famixtypescript
https://github.com/fuhrmanator/famixtypescript
moose pharo
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fuhrmanator/famixtypescript
- Owner: fuhrmanator
- Created: 2021-10-27T14:36:18.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-22T19:35:16.000Z (8 months ago)
- Last Synced: 2024-05-22T19:46:02.022Z (8 months ago)
- Topics: moose, pharo
- Language: Smalltalk
- Homepage:
- Size: 362 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 9
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# 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 ].
```