Skip to content

Commit

Permalink
feat: (WIP) implement 3d emulator
Browse files Browse the repository at this point in the history
  • Loading branch information
sor4chi committed Jun 29, 2024
1 parent 891099f commit da817ff
Show file tree
Hide file tree
Showing 5 changed files with 901 additions and 0 deletions.
18 changes: 18 additions & 0 deletions notes/sor4chi.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,21 @@ language_testの出力が単純にエラーを教えてくれていることに
ラムダの再帰パースを途中でやめ、変数ありのeval時にできるところまでevalするみたいな感じで調整する必要ありそうだねーって話になった。

現在の実装だと、lambdamanの6,9,19,21がパースできてない。

### [14:00] 大翔が書いたC++のlambdamanコードを提出

67 -> 52 一応パースできたケースは全て通った

### [14:20] ライトニングがあるので3dに取り掛かる

めっちゃめんどそう
3D言語という2Dグリッドのプログラム+離散時間軸の3Dグリッドのプログラムを書く問題。

### [14:30] 3dの仕様を読む


- 無限の2D空間で各セルは空or任意の整数or演算子
- ただし初期プログラムには-99 ~ 99の整数リテラルしか使えない

とりあえずエミュレータ実装しながら考えよう
実装めんどくさすぎる
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
pub mod icfp;
pub mod three_d;
2 changes: 2 additions & 0 deletions src/three_d.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pub mod emulator;
pub mod tokenizer;
Loading

0 comments on commit da817ff

Please sign in to comment.