LINKS
author Christian Urban <christian.urban@kcl.ac.uk>
Wed, 02 Dec 2020 16:03:57 +0000
changeset 814 1fbaa5f05516
parent 764 6718ef6143b8
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
619
136517d67d40 updated
Christian Urban <urbanc@in.tum.de>
parents: 618
diff changeset
     1
136517d67d40 updated
Christian Urban <urbanc@in.tum.de>
parents: 618
diff changeset
     2
Curated list of awesome resources on Compilers, Interpreters and Runtimes
136517d67d40 updated
Christian Urban <urbanc@in.tum.de>
parents: 618
diff changeset
     3
http://aalhour.com/awesome-compilers
136517d67d40 updated
Christian Urban <urbanc@in.tum.de>
parents: 618
diff changeset
     4
https://github.com/aalhour/awesome-compilers
136517d67d40 updated
Christian Urban <urbanc@in.tum.de>
parents: 618
diff changeset
     5
744
99c5916d9a8f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 621
diff changeset
     6
99c5916d9a8f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 621
diff changeset
     7
----------------
99c5916d9a8f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 621
diff changeset
     8
Video about Language design
99c5916d9a8f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 621
diff changeset
     9
99c5916d9a8f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 621
diff changeset
    10
https://www.reddit.com/r/programming/comments/ians9l/computerphile_from_algol_60_to_pascal_video/
99c5916d9a8f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 621
diff changeset
    11
619
136517d67d40 updated
Christian Urban <urbanc@in.tum.de>
parents: 618
diff changeset
    12
----------------
136517d67d40 updated
Christian Urban <urbanc@in.tum.de>
parents: 618
diff changeset
    13
599
33c4b580092b updated
Christian Urban <urbanc@in.tum.de>
parents: 597
diff changeset
    14
Thinking Forth (Book to read)
33c4b580092b updated
Christian Urban <urbanc@in.tum.de>
parents: 597
diff changeset
    15
=================
33c4b580092b updated
Christian Urban <urbanc@in.tum.de>
parents: 597
diff changeset
    16
620
558f911f7802 updated
Christian Urban <urbanc@in.tum.de>
parents: 619
diff changeset
    17
Nice compiler overview talk (examples)
558f911f7802 updated
Christian Urban <urbanc@in.tum.de>
parents: 619
diff changeset
    18
http://venge.net/graydon/talks/CompilerTalk-2019.pdf
558f911f7802 updated
Christian Urban <urbanc@in.tum.de>
parents: 619
diff changeset
    19
618
f4818c95a32e updated
Christian Urban <urbanc@in.tum.de>
parents: 599
diff changeset
    20
=================
f4818c95a32e updated
Christian Urban <urbanc@in.tum.de>
parents: 599
diff changeset
    21
opinionated functional programming language compiling to the JVM 
f4818c95a32e updated
Christian Urban <urbanc@in.tum.de>
parents: 599
diff changeset
    22
https://flix.github.io/#/research/
f4818c95a32e updated
Christian Urban <urbanc@in.tum.de>
parents: 599
diff changeset
    23
https://flix.github.io/#/principles/
599
33c4b580092b updated
Christian Urban <urbanc@in.tum.de>
parents: 597
diff changeset
    24
764
6718ef6143b8 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 744
diff changeset
    25
================
6718ef6143b8 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 744
diff changeset
    26
Compiler course in Edinburgh
6718ef6143b8 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 744
diff changeset
    27
6718ef6143b8 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 744
diff changeset
    28
http://www.inf.ed.ac.uk/teaching/courses/ct/19-20/
618
f4818c95a32e updated
Christian Urban <urbanc@in.tum.de>
parents: 599
diff changeset
    29
f4818c95a32e updated
Christian Urban <urbanc@in.tum.de>
parents: 599
diff changeset
    30
=================
f4818c95a32e updated
Christian Urban <urbanc@in.tum.de>
parents: 599
diff changeset
    31
General tail call elimination on the JVM
f4818c95a32e updated
Christian Urban <urbanc@in.tum.de>
parents: 599
diff changeset
    32
f4818c95a32e updated
Christian Urban <urbanc@in.tum.de>
parents: 599
diff changeset
    33
http://cs.au.dk/~magnusm/papers/cc18/paper.pdf
f4818c95a32e updated
Christian Urban <urbanc@in.tum.de>
parents: 599
diff changeset
    34
f4818c95a32e updated
Christian Urban <urbanc@in.tum.de>
parents: 599
diff changeset
    35
=================
f4818c95a32e updated
Christian Urban <urbanc@in.tum.de>
parents: 599
diff changeset
    36
incremental approach to compiler  construction
f4818c95a32e updated
Christian Urban <urbanc@in.tum.de>
parents: 599
diff changeset
    37
http://scheme2006.cs.uchicago.edu/11-ghuloum.pdf
f4818c95a32e updated
Christian Urban <urbanc@in.tum.de>
parents: 599
diff changeset
    38
f4818c95a32e updated
Christian Urban <urbanc@in.tum.de>
parents: 599
diff changeset
    39
=================
550
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
    40
Compiler courses
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
    41
http://www.cse.chalmers.se/edu/year/2017/course/TDA283/lectures/
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
    42
http://www.cs.columbia.edu/~sedwards/classes/2017/4115-fall/index.html
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
    43
http://www.cs.dartmouth.edu/~mckeeman/cs48/index.html
553
3c040f4a7415 updated
Christian Urban <urbanc@in.tum.de>
parents: 550
diff changeset
    44
http://www.cl.cam.ac.uk/teaching/1718/CompConstr/materials.html
555
9f8066748f60 updated
Christian Urban <urbanc@in.tum.de>
parents: 553
diff changeset
    45
9f8066748f60 updated
Christian Urban <urbanc@in.tum.de>
parents: 553
diff changeset
    46
9f8066748f60 updated
Christian Urban <urbanc@in.tum.de>
parents: 553
diff changeset
    47
http://spivey.oriel.ox.ac.uk/corner/Welcome_to_Spivey%27s_Corner
9f8066748f60 updated
Christian Urban <urbanc@in.tum.de>
parents: 553
diff changeset
    48
http://spivey.oriel.ox.ac.uk/corner/Compilers_(The_Farewell_Tour)
9f8066748f60 updated
Christian Urban <urbanc@in.tum.de>
parents: 553
diff changeset
    49
http://spivey.oriel.ox.ac.uk/wiki2/files/compilers/book.pdf
9f8066748f60 updated
Christian Urban <urbanc@in.tum.de>
parents: 553
diff changeset
    50
http://spivey.oriel.ox.ac.uk/corner/Programming_Languages
9f8066748f60 updated
Christian Urban <urbanc@in.tum.de>
parents: 553
diff changeset
    51
556
40e22ad45744 updated
Christian Urban <urbanc@in.tum.de>
parents: 553
diff changeset
    52
http://www.cs.cornell.edu/courses/cs3110/2015fa/index.php#Assignments
40e22ad45744 updated
Christian Urban <urbanc@in.tum.de>
parents: 553
diff changeset
    53
Magnus
40e22ad45744 updated
Christian Urban <urbanc@in.tum.de>
parents: 553
diff changeset
    54
http://www.cse.chalmers.se/edu/course/TDA283/
40e22ad45744 updated
Christian Urban <urbanc@in.tum.de>
parents: 553
diff changeset
    55
Pfenning
40e22ad45744 updated
Christian Urban <urbanc@in.tum.de>
parents: 553
diff changeset
    56
https://www.cs.cmu.edu/~fp/courses/15411-f14/
40e22ad45744 updated
Christian Urban <urbanc@in.tum.de>
parents: 553
diff changeset
    57
https://www.cs.cmu.edu/~fp/courses/15411-f13/lectures/
40e22ad45744 updated
Christian Urban <urbanc@in.tum.de>
parents: 553
diff changeset
    58
https://www.cs.cmu.edu/~fp/courses/15411-f14/lectures/
550
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
    59
===============================
570
Christian Urban <urbanc@in.tum.de>
parents: 557
diff changeset
    60
Compiler book links
Christian Urban <urbanc@in.tum.de>
parents: 557
diff changeset
    61
https://www.reddit.com/r/ProgrammingLanguages/comments/9k2hfd/introduction_to_compilers_and_language_design/
Christian Urban <urbanc@in.tum.de>
parents: 557
diff changeset
    62
Christian Urban <urbanc@in.tum.de>
parents: 557
diff changeset
    63
http://www.craftinginterpreters.com
621
cf287db8dc15 updated
Christian Urban <urbanc@in.tum.de>
parents: 620
diff changeset
    64
podcast by author of above
cf287db8dc15 updated
Christian Urban <urbanc@in.tum.de>
parents: 620
diff changeset
    65
  https://corecursive.com/032-bob-nystrom-on-building-an-interpreter/#
cf287db8dc15 updated
Christian Urban <urbanc@in.tum.de>
parents: 620
diff changeset
    66
570
Christian Urban <urbanc@in.tum.de>
parents: 557
diff changeset
    67
Christian Urban <urbanc@in.tum.de>
parents: 557
diff changeset
    68
Book about SSA
Christian Urban <urbanc@in.tum.de>
parents: 557
diff changeset
    69
http://ssabook.gforge.inria.fr/latest/book-full.pdf
Christian Urban <urbanc@in.tum.de>
parents: 557
diff changeset
    70
Christian Urban <urbanc@in.tum.de>
parents: 557
diff changeset
    71
http://cs.lmu.edu/~ray/notes/ir/
Christian Urban <urbanc@in.tum.de>
parents: 557
diff changeset
    72
===============================
556
40e22ad45744 updated
Christian Urban <urbanc@in.tum.de>
parents: 553
diff changeset
    73
Selfhosting Lisp compiler for Lua
40e22ad45744 updated
Christian Urban <urbanc@in.tum.de>
parents: 553
diff changeset
    74
40e22ad45744 updated
Christian Urban <urbanc@in.tum.de>
parents: 553
diff changeset
    75
https://github.com/sctb/lumen
40e22ad45744 updated
Christian Urban <urbanc@in.tum.de>
parents: 553
diff changeset
    76
============================
595
4bf0096bc06b updated
Christian Urban <urbanc@in.tum.de>
parents: 570
diff changeset
    77
Basic as a DSL in Scala
4bf0096bc06b updated
Christian Urban <urbanc@in.tum.de>
parents: 570
diff changeset
    78
https://github.com/fogus/baysick/blob/master/src/main/scala/fogus/baysick/Baysick.scala
556
40e22ad45744 updated
Christian Urban <urbanc@in.tum.de>
parents: 553
diff changeset
    79
597
ce8419e3915c updated
Christian Urban <urbanc@in.tum.de>
parents: 595
diff changeset
    80
ce8419e3915c updated
Christian Urban <urbanc@in.tum.de>
parents: 595
diff changeset
    81
============================
ce8419e3915c updated
Christian Urban <urbanc@in.tum.de>
parents: 595
diff changeset
    82
Arihmetic with regexes
ce8419e3915c updated
Christian Urban <urbanc@in.tum.de>
parents: 595
diff changeset
    83
ce8419e3915c updated
Christian Urban <urbanc@in.tum.de>
parents: 595
diff changeset
    84
http://www.drregex.com/2018/11/how-to-match-b-c-where-abc-beast-reborn.html
595
4bf0096bc06b updated
Christian Urban <urbanc@in.tum.de>
parents: 570
diff changeset
    85
============================
4bf0096bc06b updated
Christian Urban <urbanc@in.tum.de>
parents: 570
diff changeset
    86
Static analysis lecture notes
4bf0096bc06b updated
Christian Urban <urbanc@in.tum.de>
parents: 570
diff changeset
    87
https://cs.au.dk/~amoeller/spa/spa.pdf
4bf0096bc06b updated
Christian Urban <urbanc@in.tum.de>
parents: 570
diff changeset
    88
4bf0096bc06b updated
Christian Urban <urbanc@in.tum.de>
parents: 570
diff changeset
    89
============================
550
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
    90
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
    91
Pictures from the Starting Forth book
546
6589afc6789b updated
Christian Urban <urbanc@in.tum.de>
parents: 495
diff changeset
    92
6589afc6789b updated
Christian Urban <urbanc@in.tum.de>
parents: 495
diff changeset
    93
https://www.forth.com/starting-forth/2-stack-manipulation-operators-arithmetic/
6589afc6789b updated
Christian Urban <urbanc@in.tum.de>
parents: 495
diff changeset
    94
6589afc6789b updated
Christian Urban <urbanc@in.tum.de>
parents: 495
diff changeset
    95
--------------------------------
550
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
    96
Java Byte Code for SCALA
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
    97
https://www.toptal.com/scala/scala-bytecode-and-the-jvm
546
6589afc6789b updated
Christian Urban <urbanc@in.tum.de>
parents: 495
diff changeset
    98
550
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
    99
------------------
546
6589afc6789b updated
Christian Urban <urbanc@in.tum.de>
parents: 495
diff changeset
   100
Yeti - ML for the JVM
6589afc6789b updated
Christian Urban <urbanc@in.tum.de>
parents: 495
diff changeset
   101
https://mth.github.io/yeti/
6589afc6789b updated
Christian Urban <urbanc@in.tum.de>
parents: 495
diff changeset
   102
http://dot.planet.ee/yeti/intro.html
6589afc6789b updated
Christian Urban <urbanc@in.tum.de>
parents: 495
diff changeset
   103
550
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   104
------------------
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   105
Ocaml for LLVM
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   106
https://github.com/artagnon/rhine-ml 
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   107
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   108
---------------
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   109
Type inference 
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   110
http://www.calebh.io/Type-Inference-by-Solving-Constraints/
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   111
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   112
546
6589afc6789b updated
Christian Urban <urbanc@in.tum.de>
parents: 495
diff changeset
   113
6589afc6789b updated
Christian Urban <urbanc@in.tum.de>
parents: 495
diff changeset
   114
JVM languages
6589afc6789b updated
Christian Urban <urbanc@in.tum.de>
parents: 495
diff changeset
   115
https://en.wikipedia.org/wiki/List_of_JVM_languages
6589afc6789b updated
Christian Urban <urbanc@in.tum.de>
parents: 495
diff changeset
   116
https://www.codeproject.com/Articles/50377/Create-Your-Own-Programming-Language
6589afc6789b updated
Christian Urban <urbanc@in.tum.de>
parents: 495
diff changeset
   117
6589afc6789b updated
Christian Urban <urbanc@in.tum.de>
parents: 495
diff changeset
   118
6589afc6789b updated
Christian Urban <urbanc@in.tum.de>
parents: 495
diff changeset
   119
Scheme
6589afc6789b updated
Christian Urban <urbanc@in.tum.de>
parents: 495
diff changeset
   120
https://wespiser.com/writings/wyas/home.html
6589afc6789b updated
Christian Urban <urbanc@in.tum.de>
parents: 495
diff changeset
   121
http://peter.michaux.ca/index#Scheme
6589afc6789b updated
Christian Urban <urbanc@in.tum.de>
parents: 495
diff changeset
   122
6589afc6789b updated
Christian Urban <urbanc@in.tum.de>
parents: 495
diff changeset
   123
6589afc6789b updated
Christian Urban <urbanc@in.tum.de>
parents: 495
diff changeset
   124
476
d922cc83b70c updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   125
assmebly (calculator RPN)
d922cc83b70c updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   126
d922cc83b70c updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   127
https://dere.github.io/2017-02-12/beginners-assembly-part1/
d922cc83b70c updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   128
d922cc83b70c updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   129
477
b78664a24f5d updated
Christian Urban <urbanc@in.tum.de>
parents: 476
diff changeset
   130
webassembly
b78664a24f5d updated
Christian Urban <urbanc@in.tum.de>
parents: 476
diff changeset
   131
https://sourceware.org/ml/binutils/2017-03/msg00044.html
b78664a24f5d updated
Christian Urban <urbanc@in.tum.de>
parents: 476
diff changeset
   132
https://hacks.mozilla.org/2017/02/a-cartoon-intro-to-webassembly/
495
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   133
https://webassembly.github.io/spec/
477
b78664a24f5d updated
Christian Urban <urbanc@in.tum.de>
parents: 476
diff changeset
   134
b78664a24f5d updated
Christian Urban <urbanc@in.tum.de>
parents: 476
diff changeset
   135
webassembly explorer
b78664a24f5d updated
Christian Urban <urbanc@in.tum.de>
parents: 476
diff changeset
   136
https://mbebenita.github.io/WasmExplorer/
b78664a24f5d updated
Christian Urban <urbanc@in.tum.de>
parents: 476
diff changeset
   137
495
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   138
ARM
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   139
https://azeria-labs.com/writing-arm-assembly-part-1/
477
b78664a24f5d updated
Christian Urban <urbanc@in.tum.de>
parents: 476
diff changeset
   140
495
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   141
JVM
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   142
https://www.toptal.com/scala/scala-bytecode-and-the-jvm
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   143
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   144
Growing a compiler
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   145
http://www.cs.dartmouth.edu/~mckeeman/cs48/mxcom/gem/html/GrowingCompiler.html
477
b78664a24f5d updated
Christian Urban <urbanc@in.tum.de>
parents: 476
diff changeset
   146
b78664a24f5d updated
Christian Urban <urbanc@in.tum.de>
parents: 476
diff changeset
   147
free books
b78664a24f5d updated
Christian Urban <urbanc@in.tum.de>
parents: 476
diff changeset
   148
https://github.com/vhf/free-programming-books/blob/master/free-programming-books.md
495
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   149
https://john.cs.olemiss.edu/~hcc/csci658/notes/Free_Prog_Lang_Textbooks.html
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   150
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   151
MIPS
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   152
http://courses.missouristate.edu/kenvollmar/mars/
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   153
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   154
PEG
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   155
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   156
https://github.com/taocpp/PEGTL
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   157
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   158
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   159
Parser
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   160
https://www.reddit.com/r/programming/comments/615hoz/how_to_write_a_recursive_descent_parser/
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   161
https://www.reddit.com/r/ProgrammingLanguages/comments/60gmgc/writing_a_recursive_descent_expression_parser/
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   162
http://www.craftinginterpreters.com/parsing-expressions.html
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   163
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   164
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   165
small languages
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   166
https://github.com/Michael2109/cobalt
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   167
http://www.red-lang.org/p/about.html
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   168
http://craftinginterpreters.com/contents.html
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   169
https://michaelhaywoodblog.wordpress.com
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   170
https://ruslanspivak.com/lsbasi-part1/
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   171
http://selfie.cs.uni-salzburg.at
550
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   172
https://academy.realm.io/posts/tryswift-samuel-giddins-building-tiny-compiler-swift-ios/
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   173
https://legacy.gitbook.com/book/luxlang/the-lux-programming-language/details
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   174
https://github.com/rhysd/gocaml
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   175
https://github.com/aalhour/awesome-compilers#educational-and-toy-projects
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   176
https://rsms.me/hue-intro
495
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   177
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   178
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   179
automata
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   180
https://www7.in.tum.de/um/courses/auto/ws1314/script/autonotes.pdf
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   181
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   182
Reges helpers
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   183
https://regex101.com
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   184
http://www.regular-expressions.info/tutorial.html
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   185
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   186
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   187
Regex performance benchmark
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   188
https://rust-leipzig.github.io/regex/2017/03/28/comparison-of-regex-engines/
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   189
https://github.com/k-takata/Onigmo
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   190
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   191
Sulzmann
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   192
https://github.com/pippijn/dreml/
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   193
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   194
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   195
Scala parser
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   196
http://enear.github.io/2016/03/31/parser-combinators/
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   197
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   198
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   199
ANTLR megatutorial
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   200
https://tomassetti.me/antlr-mega-tutorial/
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   201
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   202
From regex to LLVM
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   203
https://www.youtube.com/watch?v=Ukqb6nMjFyk
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   204
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   205
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   206
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   207
7d9d86dc7aa0 updated
Christian Urban <urbanc@in.tum.de>
parents: 477
diff changeset
   208
Static code analysis
550
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   209
https://medium.com/@Coder_HarryLee/videos-about-static-code-analysis-7654b40f9a3b
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   210
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   211
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   212
Brainfuck compiler
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   213
https://github.com/PurpleMyst/bf_compiler
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   214
https://www.reddit.com/r/programming/comments/8371tk/a_brainfuck_to_llvm_ir_compiler_written_in_python/
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   215
http://www.wilfred.me.uk/blog/2015/02/21/my-first-llvm-compiler/
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   216
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   217
===============================
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   218
A simple recursive regular expression matcher written in Scala.
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   219
https://github.com/marconilanna/RegexMatcher
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   220
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   221
===============================
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   222
A neat little tool to build presentations using the Scala REPL
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   223
https://github.com/marconilanna/REPLesent
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   224
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   225
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   226
======================
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   227
Minimal Static Single Assignment Form
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   228
Max Wagner and Denis Lohner
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   229
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   230
This formalization is an extension to "Verified Construction of Static Single 
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   231
Assignment Form". In their work, the authors have shown that Braun et al.'s 
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   232
static single assignment (SSA) construction algorithm produces minimal SSA form 
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   233
for input programs with a reducible control flow graph (CFG). However Braun et 
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   234
al. also proposed an extension to their algorithm that they claim produces 
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   235
minimal SSA form even for irreducible CFGs.
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   236
In this formalization we support that claim by giving a mechanized proof.
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   237
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   238
As the extension of Braun et al.'s algorithm aims for removing so-called 
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   239
redundant strongly connected components of phi functions, we show that this 
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   240
suffices to guarantee minimality according to Cytron et al..
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   241
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   242
https://www.isa-afp.org/entries/Minimal_SSA.shtml
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   243
71fc4a7a7039 updated
Christian Urban <urbanc@in.tum.de>
parents: 546
diff changeset
   244
553
3c040f4a7415 updated
Christian Urban <urbanc@in.tum.de>
parents: 550
diff changeset
   245
=========================
3c040f4a7415 updated
Christian Urban <urbanc@in.tum.de>
parents: 550
diff changeset
   246
How Clang compiles a function
3c040f4a7415 updated
Christian Urban <urbanc@in.tum.de>
parents: 550
diff changeset
   247
https://blog.regehr.org/archives/1605