FredrikAugust / rspell

Simple cspell alternative written in Rust. Not targeting complete feature parity. Mostly for learning.

Repository from Github https://github.comFredrikAugust/rspellRepository from Github https://github.comFredrikAugust/rspell

CSpell alternative in rust

This is to practise systems programming

Currently not very functional, but with a very naïve implementation and no optimizations it seems promising to create something functional that matches or beats the performance. Of course not a very fair comparison, but it's fun none the less.

Missing functionality

Will have to at some point introduce position information in the split words. I.e.

Parsing a file

function tset() {}

Per now this will just complain that the file contains a typo with tset not being a correct word, but it does not say where. This will require rewriting the parser to handle the position, and propagate it through the steps of splitting

  • camel case
  • snake case
  • removing numbers
  • etc.

About

Simple cspell alternative written in Rust. Not targeting complete feature parity. Mostly for learning.


Languages

Language:Rust 98.6%Language:TypeScript 1.4%