j
jaipkg.dev
packages / app / joogle

joogle

bb71ab5app

Type search engine for jai inspired by Tsoding's Coogle

MIT · updated 1 year ago

Joogle is a search engine for the jai standard modules insipred by Tsoding's Coogle C Search Engine

NOTE: This is still a very early concept and not production ready, expect to rummage around the main.jai if you want to fully integrate this into your workflow and understand how it works

Quick Start

  • In order to use the search functionality you first need to build a procedure listing file from the jai standard modules.
  • The following command tries to compile all of the modules on all of the major opertaing systems, so expect to see linking errors when you run this.
  • The procedure listing file is output to modules.procs
jai main.jai - generate
  • In order to run queries, use the following commands to compile and run the search tool
jai main.jai - build
search "(*String_Builder) -> ()" 65
  • A query can also be ran at compile time using jai's interpreter
  • This is very slow and not usually recommended
jai main.jai - search "(*String_Builder) -> ()" 65
joogle-demo.mp4