1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 09:15:01 +03:00
semantic/semantic-python
Douglas Creager 90c0008e12 Extract precise tags from Python f-strings
Python f-strings can contain embedded expressions:

``` python
def x():
    return 5
f"hello there {x()} people"
```

The precise tagging definitions now traverse into f-strings, and any
interpolations that they contain, so that we can generate tags for any
function calls that appear in them.
2020-02-25 18:16:06 -05:00
..
bench Get the tests and benchmarks building again 2020-02-20 10:01:46 -08:00
src Extract precise tags from Python f-strings 2020-02-25 18:16:06 -05:00
test Bring back tree-sitter corpus tests for python 2020-02-20 13:47:06 -08:00
test-graphing Forgot to use this newtype in the carrier. 2020-02-14 12:01:30 -05:00
LICENSE Cabal complains if this file isn’t here. 2019-06-11 11:13:26 -04:00
README.md Stub in a semantic-python package. 2019-06-11 11:06:11 -04:00
semantic-python.cabal Bring back tree-sitter corpus tests for python 2020-02-20 13:47:06 -08:00
Setup.hs Stub in a semantic-python package. 2019-06-11 11:06:11 -04:00

Semantic support for Python

This package implements semantic support for Python using the semantic-core intermediate language.