MCPcopy Index your code
hub / github.com/White-Green/kirl-lang

github.com/White-Green/kirl-lang @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
218 symbols 368 edges 21 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

日本語版はこちら

kirl-lang

An experimental project for statically typed scripting language.

required for running

Rust toolchain for your computer

install

$ cargo install --git https://github.com/White-Green/kirl-lang

or

$ git clone https://github.com/White-Green/kirl-lang
$ cargo install kirl-lang/kirl

running

create below file named "hello.kirl".

import std::io;

"Hello, World!".io::println();

and run this file by the below command.

$ kirl hello.kirl

Extension points exported contracts — how you extend this code

KirlVMValue (Interface)
(no doc) [8 implementers]
kirl_common/src/interface.rs
KirlNameResolver (Interface)
(no doc) [12 implementers]
kirl_semantic_analyzer/src/name_resolver.rs
KirlFileResolver (Interface)
(no doc) [1 implementers]
kirl_engine/src/lib.rs
TryMapCollect (Interface)
(no doc) [1 implementers]
kirl_parser/src/kirl_parser.rs
InterchangeKirlVMValue (Interface)
(no doc) [2 implementers]
kirl_common/src/interface.rs
Resolvable (Interface)
(no doc) [6 implementers]
kirl_semantic_analyzer/src/name_resolver.rs
KirlVMValueLockPrivate (Interface)
(no doc) [1 implementers]
kirl_common/src/interface.rs
TryMapCollect (Interface)
(no doc) [1 implementers]
kirl_semantic_analyzer/src/syntax_tree_to_hir.rs

Core symbols most depended-on inside this repo

get_candidate_paths
called by 26
kirl_semantic_analyzer/src/syntax_tree_to_hir.rs
push_variable
called by 20
kirl_vm/src/lir.rs
is_a
called by 20
kirl_common/src/typing.rs
add_used_variable
called by 19
kirl_semantic_analyzer/src/type_checker.rs
into_one
called by 16
kirl_semantic_analyzer/src/type_checker.rs
into_normalized
called by 14
kirl_common/src/typing.rs
operand
called by 13
kirl_vm/src/bytecode.rs
normalize
called by 7
kirl_common/src/typing.rs

Shape

Method 77
Function 59
Class 37
Enum 35
Interface 10

Languages

Rust100%

Modules by API surface

kirl_parser/src/kirl_parser.rs32 symbols
kirl_common/src/typing.rs26 symbols
kirl_stdlib/src/lib.rs20 symbols
kirl_semantic_analyzer/src/syntax_tree_to_hir.rs16 symbols
kirl_semantic_analyzer/src/lib.rs16 symbols
kirl_common_macro/src/kirl_function.rs15 symbols
kirl_common/src/interface.rs13 symbols
kirl_semantic_analyzer/src/type_checker.rs12 symbols
kirl_parser/src/lib.rs12 symbols
kirl_vm/src/lir.rs11 symbols
kirl_vm/src/bytecode.rs10 symbols
kirl_engine/src/lib.rs10 symbols

For agents

$ claude mcp add kirl-lang \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact