Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
PostScriptでプログラミングをしよう
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
綿糸てせ
June 20, 2026
Programming
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
PostScriptでプログラミングをしよう
綿糸てせ
June 20, 2026
More Decks by 綿糸てせ
See All by 綿糸てせ
{sol,nest}にSSH接続しよう
ctes091x
0
17
グレートファイアウォールを自宅に建てよう
ctes091x
0
220
Other Decks in Programming
See All in Programming
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
380
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
150
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
15
8.5k
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
160
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
610
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
170
contenteditable と日本語入力に向き合う
colorful12
0
200
現場と育てるRailsモデリング 〜Spreadsheetから始めたモデル設計〜
siroemk
2
590
phperだってパンチカードでコーディングしたい
o0h
PRO
0
330
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
390
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
220
Jetpack Compose Mechanisms
skydoves
3
820
Featured
See All Featured
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
440
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
710
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
820
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
260
Ethics towards AI in product and experience design
skipperchong
2
430
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
850
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
43k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Deep Space Network (abreviated)
tonyrice
0
370
Producing Creativity
orderedlist
PRO
348
41k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
460
Transcript
PostScriptで プログラミングをしよう 電気通信⼤学MMA てせ / ctes091x
0. ⾃⼰紹介 ‧UEC25 てせ / ctes091x ‧所属: MMA‧⼯研‧VLL ‧Arch Linuxはいいぞ
‧中古ノートPCにProxmoxを⼊れて⾃宅に置いています ‧AtCoder茶 ‧SF研究会創設‧代表
0. サークル紹介 MMAは技術系Slackおしゃべりサークルです、異論は認める
1. 全電通⼤⽣はPostScriptをやっている 1年前期の必修科⽬「コンピュータリテラシー」 第10回「グラフィック‧図と表」 実習でラスター(PPM)‧ベクター(PostScript)画像を扱う
1. 全電通⼤⽣はPostScriptをやっている 1年前期の必修科⽬「コンピュータリテラシー」 第10回「グラフィック‧図と表」 実習でラスター(PPM)‧ベクター(PostScript)画像を扱う (↑ SVGとかじゃないのかよ……)
2. PostScriptってなんなのさ Adobeが開発したページ記述⾔語 プリンタが処理系を内蔵、ソースを投げつけると印刷できる
2. PostScriptってなんなのさ Adobeが開発したページ記述⾔語 プリンタが処理系を内蔵、ソースを投げつけると印刷できる → 正体はスタックベースのプログラミング⾔語
3. PostScriptの構⽂ 値をスタックに積む 命令が来たら処理をする %!PS-Adobe-2.0 %%BoundingBox: 0 0 400 300
newpath 100 100 moveto 100 200 lineto 200 200 lineto 200 100 lineto 100 100 lineto closepath fill showpage
3. PostScriptの構⽂ 「トークン」に値を割り当て 変数として使える %!PS-Adobe-2.0 %%BoundingBox: 0 0 400 300
/x1 100 def /y1 100 def /y1 200 def /y2 200 def newpath x1 y1 moveto x1 y2 lineto x2 y2 lineto x2 y1 lineto x1 x1 lineto closepath fill showpage
処理もスタックに積める 制御構⽂に渡される 単純な回数指定ループの例→ %!PS-Adobe-2.0 %%BoundingBox: 0 0 400 300 3
{ newpath 100 100 moveto 100 200 lineto 200 200 lineto 200 100 lineto 100 100 lineto 30 -15 translate closepath fill } repeat showpage 3. PostScriptの構⽂
サブルーチンも定義できる %!PS-Adobe-2.0 %%BoundingBox: 0 0 400 300 /fillrect { /y2
exch def /x2 exch def /y1 exch def /x1 exch def newpath x1 y1 moveto x1 y2 lineto x2 y2 lineto x2 y1 lineto x1 x1 lineto closepath fill } def 100 100 200 200 fillrect showpage 3. PostScriptの構⽂
普通にプログラミング*1*2 ができる! *1. ⼿続き型プログラミング *2. 「関数型は普通のやつです」←そんなわけないだろ
4. 作例 コラッツ数列の表⽰
4. 作例 WolframのElementary Cellular Automaton
4. 作例 Brainf**kインタプリタ
5. おわりに ‧電通⼤⽣は1年次必修科⽬でPostScriptをやる ‧PostScriptはAdobe製のページ記述⾔語 ‧かつスタックベースの⼿続き型プログラミング⾔語 → なので普通にプログラミング*1*2ができる ‧PostScriptプログラミングをしよう!!! ‧(AtCoderにはないけど…………) *1.
⼿続き型プログラミング *2. 「関数型は普通のやつです」←そんなわけないだろ
ありがとうございました