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
The sbt-rats parser generator plugin for Scala
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Tony Sloane
October 30, 2016
Research
830
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
The sbt-rats parser generator plugin for Scala
With Franck Cassez and Scott Buckley. Tool talk at Scala Symposium 2016, Amsterdam.
Tony Sloane
October 30, 2016
More Decks by Tony Sloane
See All by Tony Sloane
Embedding Attribute Grammars
inkytonik
0
120
Respect Your Parents: How Attribution and Rewriting Can Get Along
inkytonik
0
140
LLVM and Scala
inkytonik
2
370
The Moama Functional Language Design and Implementation (and quite a bit about the Monto Disintegrated Development Environment)
inkytonik
0
160
Embedded Domain-Specific Languages
inkytonik
0
210
Monto: A Disintegrated Development Environment (WG 2.11 version)
inkytonik
2
170
Monto: A Disintegrated Development Environment
inkytonik
1
250
Respect Your Parents: How Attribution and Rewriting Can Get Along
inkytonik
0
280
Embedding a Rewriting DSL in Scala
inkytonik
0
190
Other Decks in Research
See All in Research
EIRによる不正端末のブロッキング 5G時代におけるデバイス識別と不正対策の進化
stellarcraft
0
120
AIで最適化を解けるか?
mickey_kubo
0
150
Google Cloud Next 2026 DM Recap Agentic Data Cloudを添えて / Google Cloud Next 2026 DM Recap
nnaka2992
0
110
AIエージェント時代のLLM-jpモデルのあるべき姿
k141303
0
570
超効率化への挑戦:1bit LLMの現状と展望
yumaichikawa
0
260
クラウド・AI 時代の研究開発 DX / R&D Digital Transformation
hariby
0
100
Research Engineerという仕事 / Research Engineering: Bridging Research and Business
chck
1
260
2026年版中小企業白書・小規模企業白書の概要
ozekinote
0
160
【Zozo Research 技術共有会】三次元領域の現在と展望
mickey_0226
3
560
CVPR2026論文紹介_VLMにとって良いvision encoderとは何か?Rethinking Model Selection in VLM Through the Lens of Gromov-Wasserstein Distance
kobayashi31
1
190
COMETAを用いたデータ民主化運動の歴史
sazimai
0
220
人間中心の意思決定支援AI
yukinobaba
PRO
7
3.8k
Featured
See All Featured
GraphQLとの向き合い方2022年版
quramy
50
15k
Balancing Empowerment & Direction
lara
6
1.2k
Design in an AI World
tapps
1
280
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
201
75k
How Software Deployment tools have changed in the past 20 years
geshan
1
34k
[SF Ruby Conf 2025] Rails X
palkan
2
1.3k
Context Engineering - Making Every Token Count
addyosmani
9
1.1k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
1.1k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
450
Visualization
eitanlees
152
17k
Six Lessons from altMBA
skipperchong
29
4.4k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
210
Transcript
THE SBT-RATS PARSER GENERATOR PLUGIN FOR SCALA Anthony Sloane Franck
Cassez Scott Buckley Programming Languages and Verification Group Macquarie University, Sydney, Australia
DEMO
RATS! http://cs.nyu.edu/rgrimm/xtc/rats-intro.html Robert Grimm Parsing expression grammars Packrat parsing Generates
Java
MORE RATS!
SYNTAX DEFINITIONS
SYNTAX DEFINITIONS
TREE DEFINITION
PRETTY-PRINTING
BINARY PARSING
EXPRESSIONS
SCALA LLVM LIBRARY
MQ SCALA SMTLIB Replaces a hand-written lexer, parser, pretty-printer of
more than 2,500 Scala code lines with less than 500 lines of syntax definition
SOFTWARE LANGUAGE ENGINEERING AT MACQUARIE UNIVERSITY https://bitbucket.org/inkytonik/sbt-rats https://bitbucket.org/inkytonik/kiama
[email protected]
@inkytonik
on Twitter High-level language processing in a familiar programming setting strategic term rewriting dynamically-scheduled attribute grammars abstract state machines pretty-printing combinators