diff --git a/content/.obsidian/bookmarks.json b/content/.obsidian/bookmarks.json new file mode 100644 index 00000000..c358bcb1 --- /dev/null +++ b/content/.obsidian/bookmarks.json @@ -0,0 +1,10 @@ +{ + "items": [ + { + "type": "file", + "ctime": 1700107443481, + "path": "index.md", + "title": "トップページ" + } + ] +} \ No newline at end of file diff --git a/content/index.md b/content/index.md index 590bddfa..a33cdaa4 100644 --- a/content/index.md +++ b/content/index.md @@ -12,6 +12,7 @@ https://matsuuratomoya.com - [[この研究ノートについて]] - [[音楽プログラミング言語]] +- [[プログラミング言語理論一般]] - [[DIY半導体]] - [[オルタナティブ電子基板]] - [[自宅サーバー]] @@ -20,6 +21,7 @@ https://matsuuratomoya.com - [[論文の管理]] - [[授業に関わるメモ]] + ### タイトルのある書き物 [[複製するメディアではなく、"刷られた装置"としてのコンピューター - 芸術とデザインの視点からのDIY半導体]] diff --git a/content/otopoiesis.md b/content/otopoiesis.md index 9264652f..03afbc67 100644 --- a/content/otopoiesis.md +++ b/content/otopoiesis.md @@ -83,6 +83,22 @@ fn fade_inout(origin:Region)->Region{ content: compose(origin.content,new_generator)//この辺がよくわからん } } +``` + +### リージョンに対するリバース + +```rust +fn reverse(origin:Region)->Region{ + //クロージャとして値を閉じ込める + let mut new_cache = vec![0;origin.get_dur_in_samples()*origin.channeks]; + origin.render(new_cache); + let new_generator = |s| ; + Region{ + start:origin.start, + dur:origin.dur, + content: compose(origin.content,new_generator)//この辺がよくわからん + } +} ``` diff --git a/content/プログラミング言語理論一般.md b/content/プログラミング言語理論一般.md new file mode 100644 index 00000000..aa0f86d7 --- /dev/null +++ b/content/プログラミング言語理論一般.md @@ -0,0 +1,12 @@ +#programming-language #compiler-design + + +[Write a JavaScript Parser in Rust](https://oxc-project.github.io/javascript-parser-in-rust/ja/docs/intro/) + +[Build a Lua Interpreter in Rust](https://wubingzheng.github.io/build-lua-in-rust/en/) + +[低レイヤを知りたい人のためのCコンパイラ作成入門](https://www.sigbus.info/compilerbook#) + +[Lisp in 99 lines of C and how to write one yourself](https://github.com/Robert-van-Engelen/tinylisp) + +[Make A Lisp](https://github.com/kanaka/mal)