Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
我流ズンドコスクリプト入門
Search
eS_1
January 15, 2020
Programming
0
110
我流ズンドコスクリプト入門
我流のズンドコスクリプトを勝手に作ったので初投稿です
eS_1
January 15, 2020
Tweet
Share
Other Decks in Programming
See All in Programming
Fluid Templating in TYPO3 14
s2b
0
130
なるべく楽してバックエンドに型をつけたい!(楽とは言ってない)
hibiki_cube
0
140
AIによるイベントストーミング図からのコード生成 / AI-powered code generation from Event Storming diagrams
nrslib
2
1.9k
AtCoder Conference 2025
shindannin
0
1.1k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
610
20260127_試行錯誤の結晶を1冊に。著者が解説 先輩データサイエンティストからの指南書 / author's_commentary_ds_instructions_guide
nash_efp
1
990
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
480
Apache Iceberg V3 and migration to V3
tomtanaka
0
170
MUSUBIXとは
nahisaho
0
140
AI時代の認知負荷との向き合い方
optfit
0
160
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.6k
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6.1k
Featured
See All Featured
sira's awesome portfolio website redesign presentation
elsirapls
0
150
A Modern Web Designer's Workflow
chriscoyier
698
190k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
230
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
Marketing to machines
jonoalderson
1
4.6k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
1
57
Done Done
chrislema
186
16k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
270
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
170
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
450
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
Transcript
ズンドコスクリプト 入門 エスワン(@eS1_H2O) (@eS1_tech)
ズンドコ?
要するに インタープリタをつくりました ”BrainF*ck”と原理は同じ →チューリング完全な言語 ポインタをいじいじして入出力、しよう!
仕様(Brainf*ck) >:ポインタをインクリメント <:ポインタをデクリメント +:ポインタの指す値をインクリメント ー:ポインタの指す値をデクリメント
.:ポインタの値を出力 ,:入力から1byte読み込んで、ポインタの 指す先に代入 “[“と”]”は省略
で、どういう言語だってばよ 命令はすべて「ズン」と「ドコ」の組み合 わせで構成される Brainf*ckは8通りの命令がある →じゃあ3回繰り返せばいいじゃん (e.g. ズンドコズン) 元ネタの元ネタ→
仕様(ズンドコスクリプト) ズンズンズン:ポインタをインクリメント ズンズンドコ:ポインタをデクリメント ズンドコズン:ポインタの指す値をインクリ メント ズンドコドコ:ポインタの指す値をデクリメ
ント ドコドコズン:ポインタの値を出力 ドコドコドコ:入力から1byte読み込んで、ポ インタの指す先に代入 “[“と”]”は省略
スクリプト
分かりづらいわアホ ごめんなさい。面白そうだったので… 着想元1:ズンドコキヨシまとめ https://qiita.com/shunsugai@github/item s/971a15461de29563bf90 着想元2:ズンドコスクリプト(original) https://qiita.com/dankogai/items/86a74
0ec06ad07e129ef
何が言いたいかというと 自己流インタープリタ作成はかんたん! みんなもつくってみよう!