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
7 languages in 30 minutes
Search
Kimmy Leo
November 18, 2015
Programming
28
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
7 languages in 30 minutes
https://zhuanlan.zhihu.com/p/20289355?refer=lessmore
Kimmy Leo
November 18, 2015
More Decks by Kimmy Leo
See All by Kimmy Leo
Build Typed Web
kenpusney
0
24
FP Explains
kenpusney
1
58
Other Decks in Programming
See All in Programming
Vue.jsで作る空間解析アプリとCapacitorプラグインのData Bridge
hal_spidernight
1
160
AI時代のシニアエンジニアとは
yosuke_furukawa
PRO
14
11k
flutter_test のその先へ — Flutter アプリの LLM 機能に「評価」という品質保証を
kosukesaigusa
0
180
AI時代のTerminal環境を UNIX哲学で設計・運用する
yasunori0418
1
340
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
220
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
1
2k
Seven New Principles of Software Engineering
yegor256
0
440
Inertia Rails: The One-Person Framework with React & Friends
skryukov
0
380
선언형 햅틱 라이브러리 진동을 소개합니다
l2hyunwoo
1
280
まずはコードより業務と向き合う:テーブル解体のためにPdMを呼んだ話
sakawe_ee
0
140
AIが実装を担う時代の「技術設計」と「チームマネジメント」
kamina_zzz
1
120
はじめてのPLATEAU
nokonoko1203
1
320
Featured
See All Featured
Making Projects Easy
brettharned
120
6.8k
Large-scale JavaScript Application Architecture
addyosmani
516
110k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
560
Bash Introduction
62gerente
615
220k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
490
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
890
A Tale of Four Properties
chriscoyier
163
24k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
420
WCS-LA-2024
lcolladotor
0
970
Transcript
7 languages in 30 minutes RETHINK COMPUTATION AND LANGUAGE
contents 1. a linear memory based language 2. a pattern
matchingbased language 3. a meta language 4. a stack based language 5. a (markup)language 6. a macro language 7. a modelinglanguage
Linear memory Memory cells Addressing Pointer Increment/Decrement Program Counter PC-Stack
Brainfuck MINIMAL MODEL FOR COMPUTATION
Pattern maching a = a; X = a; //=> X
results a a(b, c) = X; //=> X results a(b, c) a(X, c) = a(b, Y); //=> X results b, Y results c [H|T] = [1,2,3,4,5]; //=> H results 1, T results [2,3,4,5]
length of a list len([], 0). len([H|T], X) :- len(T,
Y), X is Y+1.
Prolog PROGRAMMING LOGIC
program as data 1 + 2 − 3 ×4
program as data * + 1 - 2 3 4
program as data (* (+ 1 (- 2 3)) 4)
Scheme LOST IN STUPID PARENS
stack-based operations * + 1 - 2 3 4
postfix expression 1 2 3 - + 4 *
stack-based operations see <04/fix.cpp>
JVM bytecode 0: iconst_2 1: istore_1 2: iload_1 3: sipush
1000 6: if_icmpge 44 9: iconst_2 10: istore_2 11: iload_2 12: iload_1 13: if_icmpge 31 16: iload_1 17: iload_2 18: irem 19: ifne 25 22: goto 38 25: iinc 2, 1 28: goto 11 31: getstatic #84; // Field java/lang/System.out:Ljava/io/PrintStream; 34: iload_1 35: invokevirtual #85; // Method java/io/PrintStream.println:(I)V 38: iinc 1, 1 41: goto 2 44: return
PostScript/Forth PROGRAMMING LANGUAGE FOR PUBLISHING AND PRINTING
represent a math expression × => a x b ?
+ , => a / b ? lim 0→2 sin => lim x -> 0 sin x ? ∑ 7 => SIGMA x 2 ?
represent a math expression × => a \times b +
, => \frac{a}{b} lim 0→2 sin => \lim_{x -> 0}{sin x} ∑ 7 => \sum{x^2}
represent an article \article \section \subsection \paragraph \theorem …
XML <article> <section> <subsection> <p></p> <subsection> </section> </article>
XSLT
LaTeX ALL YOU NEED IS A SUITABLE DISTRIBUTION
magic of string substitution vDefine vQuote vEval vMeta-programming vTokens vRecursion
m4 LAZYMAN’S LAZY TOOL
? WHAT YOU CAN MAKE
None