Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions crates/codegraph-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ tree-sitter-dart = "0.0.4"
tree-sitter-zig = "1"
tree-sitter-haskell = "0.23"
tree-sitter-ocaml = "0.24"
tree-sitter-julia = "0.23"
rayon = "1"
ignore = "0.4"
globset = "0.4"
Expand Down
3 changes: 1 addition & 2 deletions crates/codegraph-core/src/change_detection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ mod tests {

#[test]
fn detect_removed_skips_unsupported_extensions() {
// Files in WASM-only languages (Clojure, Gleam, Julia, F#) live in
// Files in WASM-only languages (Clojure, Gleam, F#) live in
// `file_hashes` because the JS-side WASM backfill writes them, but
// Rust's narrower file_collector never collects them. Without this
// skip, every incremental rebuild would flag them as removed and
Expand All @@ -783,7 +783,6 @@ mod tests {
for path in [
"tests/fixtures/clojure/main.clj",
"tests/fixtures/gleam/main.gleam",
"tests/fixtures/julia/main.jl",
"tests/fixtures/fsharp/Main.fs",
] {
existing.insert(
Expand Down
10 changes: 10 additions & 0 deletions crates/codegraph-core/src/extractors/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,16 @@ pub const OCAML_AST_CONFIG: LangAstConfig = LangAstConfig {
string_prefixes: &[],
};

pub const JULIA_AST_CONFIG: LangAstConfig = LangAstConfig {
new_types: &[],
throw_types: &[],
await_types: &[],
string_types: &["string_literal", "prefixed_string_literal"],
regex_types: &[],
quote_chars: &['"'],
string_prefixes: &[],
};

// ── Generic AST node walker ──────────────────────────────────────────────────

/// Node types that represent identifiers across languages.
Expand Down
Loading
Loading