Writing C++ with Jev by picking valid next tokens
The author experimented with TypeSafe's Jev decision/classifier model for C++: at each step it was given only grammatically valid next tokens to pick from, avoiding free-form generation.
Pontus Abrahamsson shares practical tips for building a great composer: prefetching data, Tiptap under the hood, keyboard navigation, localStorage drafts, polished paste behavior, and Jev for intent-based recommendations.
to build a great composer: - prefetch data - tiptap under the hood - aware of the chat and space - keyboard navigation - instant typing, fast animations - save drafts in localStorage - make paste work beautifully - bonus: intent-based recommendations using jev