Skip to content

dylon/lcompilers-code-completion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

clang++ -std=c++20 -o app \
  src/lcompilers/ldictionary/prefix_node.cpp \
  src/lcompilers/ldictionary/prefix_iterator.cpp \
  src/lcompilers/ldictionary/prefix_cursor.cpp \
  src/lcompilers/ldictionary/prefix_trie.cpp \
  src/lcompilers/ldictionary/main.cpp
./app
Inserted "" into dict.
Inserted "foo" into dict.
Inserted "bar" into dict.
Inserted "baz" into dict.
Inserted "qux" into dict.
Inserted "quo" into dict.
Inserted 6 terms in dict.
("" + "") = "" ~ ""
("" + "") = "" ~ "bar"
("" + "") = "" ~ "baz"
("" + "") = "" ~ "foo"
("" + "") = "" ~ "quo"
("" + "") = "" ~ "qux"
Found 6 result(s) for query ""
("" + "b") = "b" ~ "bar"
("" + "b") = "b" ~ "baz"
Found 2 result(s) for query "b"
("b" + "a") = "ba" ~ "bar"
("b" + "a") = "ba" ~ "baz"
Found 2 result(s) for query "ba"
("ba" + "r") = "bar" ~ "bar"
Found 1 result(s) for query "bar"
Found 0 result(s) for query "bard"
Rewinding by 2 characters.
("ba" + "z") = "baz" ~ "baz"
Found 1 result(s) for query "baz"
Found 0 result(s) for query "bazz"

About

Code completion prototype for lcompilers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages