Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tusharsadhwani
on Dec 29, 2021
|
parent
|
context
|
favorite
| on:
Learn Python ASTs, by building your own linter
True! Although there's some lints that would require you to parse tokens, such as checking for single vs. double quotes, or number of spaces used for indentation.
However, python has a builtin tokenize module for that as well.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
However, python has a builtin tokenize module for that as well.