Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

What is the difference between a regular AST and the UAST? #186

Closed
alonsopg opened this issue Aug 7, 2019 · 2 comments
Closed

What is the difference between a regular AST and the UAST? #186

alonsopg opened this issue Aug 7, 2019 · 2 comments
Labels

Comments

@alonsopg
Copy link

alonsopg commented Aug 7, 2019

Let's say that I have one python AST extracted with the ast library, and a UAST extracted with bblfish. What are the differences between them? Do I lose representation and the ability of modelling a piece of code if I use UAST?

@kuba--
Copy link
Member

kuba-- commented Aug 7, 2019

Take a look here: https://forum.sourced.tech/t/difference-between-uast-modes-native-annotated-semantic/69

And bblfsh documentation: https://doc.bblf.sh/uast/uast-specification-v2.html

I hope it can answer your questions

@dennwc dennwc added the question label Aug 7, 2019
@alonsopg
Copy link
Author

alonsopg commented Aug 8, 2019

Great, thanks a lot!

@alonsopg alonsopg closed this as completed Aug 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants