Kodai
プログラミングが好き
Programming language implementation for learning purposes
Home Page: https://0918nobita.github.io/mylang/
License: MIT License
関数に分離したい
mylang/crates/lsp_server/src/responder.rs
Lines 119 to 195 in 9257fc9
lib.rs
に全部まとめてる現状だとかなり長くて読みにくいため
とりあえず macOS x86-64 をサポートするために Mach-O 64bit 実行可能ファイルを直接書き出すコンパイラを作りたい
言語サーバ側で、ソースファイルのパスと内容を対にして保存しておき、クライアントから通知される差分をもとにそれを更新して毎回必要最低限のコード断片をトークナイズするようにしたほうが良さそう
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)crates/ast/Cargo.toml
serde 1.0.184
crates/ast_interp/Cargo.toml
anyhow 1.0.75
clap 4.3.23
thiserror 1.0.47
insta 1.31.0
crates/bytecode/Cargo.toml
serde 1.0.184
crates/bytecode_compiler/Cargo.toml
anyhow 1.0.75
clap 4.3.23
insta 1.31.0
crates/cli_ext/Cargo.toml
anyhow 1.0.75
bincode 1.3.3
clap 4.3.23
once_cell 1.18.0
serde 1.0.184
serde_json 1.0.105
crates/cli_test/Cargo.toml
anyhow 1.0.75
clap 4.3.23
crates/lexer/Cargo.toml
anyhow 1.0.75
clap 4.3.23
itertools 0.11.0
thiserror 1.0.47
utf8-chars 3.0.0
insta 1.31.0
crates/lsp_server/Cargo.toml
actix 0.13.0
anyhow 1.0.75
env_logger 0.10.0
itertools 0.11.0
log 0.4.20
regex 1.9.4
serde 1.0.184
serde_json 1.0.105
valq 0.1.0
tokio 1.32.0
crates/parser/Cargo.toml
anyhow 1.0.75
bincode 1.3.3
clap 4.3.23
itertools 0.11.0
serde_json 1.0.105
thiserror 1.0.47
crates/token/Cargo.toml
serde 1.0.184
crates/vm/Cargo.toml
anyhow 1.0.75
bincode 1.3.3
clap 4.3.23
serde_json 1.0.105
thiserror 1.0.47
insta 1.31.0
.github/workflows/check.yml
actions/checkout v3
actions-rs/toolchain v1
actions-rs/clippy-check v1
actions/checkout v3
actions-rs/toolchain v1
actions-rs/cargo v1
actions/checkout v3
actions-rs/toolchain v1
actions-rs/cargo v1
actions/checkout v3
actions-rs/toolchain v1
.github/workflows/doc.yml
actions/checkout v3
actions-rs/toolchain v1
peaceiris/actions-gh-pages v3
.github/workflows/remove-label.yml
actions/checkout v3
actions-ecosystem/action-remove-labels v1
.github/workflows/udeps.yml
actions/checkout v3
actions/cache v3
actions/checkout v3
actions-rs/toolchain v1
actions-rs/install v0.1
.github/workflows/vscode-ext.yml
actions/checkout v3
pnpm/action-setup v2.4.0
actions/checkout v3
pnpm/action-setup v2.4.0
actions/checkout v3
pnpm/action-setup v2.4.0
vscode-ext/package.json
vscode-languageclient 8.1.0
@types/node 18.17.6
@types/vscode 1.81.0
@typescript-eslint/eslint-plugin 6.4.0
@typescript-eslint/parser 6.4.0
esbuild 0.19.2
eslint 8.48.0
prettier 3.0.2
typescript 5.1.6
vscode ^1.63.2
insta
クレートが便利そう
mylang/crates/token/src/lib.rs
Lines 37 to 43 in c7f9c0c
cargo-udeps だけ異様に時間がかかっている
毎回やる必要はないので「週一回、コードに変更があった場合にのみ cargo-udeps を実行する」別の定期ワークフローを用意して Check ワークフローからは外したほうが良さそう
サブコマンド:
lex
parse
interp
emit-bytecode
vm
指定されたファイルの拡張子をもとに、どのような流れで変換をするか決定する
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.