Skip to content

Work of trainee - #21

Merged
alesshosry merged 12 commits into
mainfrom
WorkOfTrainee
Oct 2, 2026
Merged

alesshosry merged 12 commits into
mainfrom
WorkOfTrainee

Conversation

@alesshosry

Copy link
Copy Markdown
Member

No description provided.

mohaTlg and others added 12 commits September 27, 2026 12:25
This is a big change that @mohaTlg worked on it during his internship:

1. FASTTypeScript metamodel is regenerated again
2. All properties are added to the new generated metamodel. These properties are the same ones generated by TreeSitter, without checking if they exist already in FAST and how we can handle such dusplications...
3. Cardinality is taken into consideration because the properties were generated based on [this file](https://github.com/tree-sitter/tree-sitter-typescript/blob/master/typescript/src/node-types.json)
4. But also tests are generated automatically using the generator in the main Pharo-Tree-Sitter project: We took [the examples](https://github.com/tree-sitter/tree-sitter-typescript/tree/master/test/corpus) suggested by the main tree sitter typescript project, and Diallo created a mini parser to extract the examples from these files and generate tests with these examples. We wanted to make sure that we are covering the maximum number of classes and properties, so we decided to rely on what tree sitter community suggested... Cardinality is also taken into consideration in these tests. The main concept is to test the type of each node and the presence of its properties... 

This PR will be accepted in the WorkOfTrainee branch. We won't add it in the main branch unless we fully test it with the users of FASTTypeScript and make sure that it doesn't blow up their projects specially that everything was regenerated
Removed Pharo64 versions from the smalltalk matrix.
Updated project status and contribution guidelines in README.
@coveralls

coveralls commented Oct 2, 2026 •

Copy link
Copy Markdown

Coverage Report for CI Build 37003656339

Coverage increased (+60.1%) to 94.77%

Details

  • Coverage increased (+60.1%) from the base build.
  • Patch coverage: Could not be determined — this PR's diff is too large for GitHub to return (406 error at GitHub).
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 30901
Covered Lines: 29285
Line Coverage: 94.77%
Coverage Strength: 0.95 hits per line

💛 - Coveralls

@alesshosry
alesshosry merged commit b1f92d3 into main Oct 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants