First psi tree

Tree I’ve managed to build my first psi trees now. And seen them in the PsiViewer plugin in the host IDEA. It still is a pretty random tree. It simple devides the source into chunks of 10 tokens and then those into chunks of 5. But I’ve managed to make it compile and all. The tricky part was understanding how the whole parsing process works. I’m still not totally clear on this. Also I had trouble getting the psiViewer to view the tree but this was fixed but clicking the buttons randomly then it worked… wierd. I’ve started to try to unit test the psi parser but it’s tricky so far. Will write more about that later.

Advertisement

0 Responses to “First psi tree”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s





Follow

Get every new post delivered to your Inbox.