Comments (3)
You would need to add the parser here
I’m not sure if TS is part of the tree sitter language Python package though. If not you’d need to compile and add the language manually
from piranha.
@ketkarameya / @danieltrt any ideas? thanks
from piranha.
thanks daniel. i consider this as closed for now. cc @grzpab
from piranha.
Related Issues (20)
- Go comments not being cleaned up correctly HOT 4
- One step install piranha HOT 1
- Add rules for simplification of if statements in swift
- Add rules for simplification of guard statements.
- Add rules for variable inlining
- Add rules for ternary operator cleanup
- Allow syntactically incorrect input
- Remove `PiranhaArguments` from `SourceCodeUnit`
- Unintuitive interface - To match a code snippet, we need to set `dry_run` HOT 1
- Explicit ordering for rules
- [Swift] Comma not getting cleaned properly
- Add rules for enum cleanup
- Support multiple `path_to_codebase`s
- , is used as logical and in if/guard statements in swift. Cleanup is required
- Add function scope to swift for cleanup
- Enum scope not supported in Kotlin or Java
- Report error diagnosis for not parseable tree-sitter queries
- Cannot create dummy rule from python api
- [bug] [PiranhaAgent] error thrown after applying the inferred rule to the sample before/after snippet in the doc HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from piranha.