JetBrains / Nitra

Public Nitra repository
Other
554 stars 43 forks source link

Can I use Nitra for intellisense tasks that resemble a user typing a query-style sentence? #32

Open rcammarere opened 9 years ago

rcammarere commented 9 years ago

What I'm wondering is, could I use Nitra to define grammars that have to do with a user dialog that is similar to an SQL query, in the sense that they would be prompted with the "next logical word suggestion" as well as suggesting a word once they type a letter. For example, this would be the typical sentence that the user would type: 'Include' 'areas that are' '<=' '10 miles' from 'train stations' 'where' 'the road surfaces are paved'. I would need the intellisense to prompt them with each section of the sentence that I have inside the ' marks. Would I be able to accomplish that with Nitra? Thanks, Renee