Hacker News new | ask | show | jobs
by mudiaga 2054 days ago
No it’s not possible to use this solution for autocomplete code/content writing but it’s quite interesting to think of the possibility. I wonder what would be required to make that happen and how it would turn out.

Also I’m not sure I understand what you mean when you say tokens, what are you referring to there?

1 comments

Those who have written a compiler or parser once I think can understand what's token

https://en.wikipedia.org/wiki/Context-free_grammar https://en.wikipedia.org/wiki/Regular_grammar