1 (use-modules (haunt asset)
8 (haunt reader commonmark)
14 (define (stylesheet name)
15 `(link (@ (rel "stylesheet")
16 (href ,(string-append "/" name ".css")))))
18 (define* (base-layout site body #:key title)
22 (meta (@ (charset "utf-8")))
23 (title ,(if title (string-append title " — " (site-title site))
24 "Amin Bandali’s Personal Site"))
26 ,(stylesheet "style"))
31 "Copyright 2016–2019 Amin Bandali. See "
32 (a (@ (href "license.html")) "license.html")
33 " for license conditions. Please copy and share."))))))
35 (define (bandali-post-template post)
37 (h1 ,(post-ref post 'title))
40 ,(post-ref post 'author))
41 " <" ,(post-ref post 'email) ">")
43 ,(date->string (post-date post) "~B ~d, ~Y")))
46 (define (bandali-collection-template site title posts prefix)
47 (define (post-uri post)
48 (string-append (or prefix "") "/"
49 (site-post-slug site post) ".html"))
55 (a (@ (href ,(post-uri post)))
56 ,(post-ref post 'title))
57 " — " ,(date->string (post-date post) "~B ~d, ~Y")))
61 (theme #:name "bandali"
63 (lambda (site title body)
64 (base-layout site body
66 #:post-template bandali-post-template
67 #:collection-template bandali-collection-template))
69 (define (index-material site posts)
71 (h1 (@ (style "font-size: 0;"))
73 (p (@ (style "margin-top: 0;"))
75 (a (@ (href "images/bandali-with-rms.jpg")
76 (title ,(string-append
77 "photo of bandali with rms wearing a "
78 "“pay cash don’t be tracked” pin")))
80 ". I’m a graduate student at "
81 (a (@ (href "https://watform.uwaterloo.ca"))
83 " at University of Waterloo, supervised by "
84 (a (@ (href "https://cs.uwaterloo.ca/~nday/"))
86 ". The main goal of my research is improving "
87 (strong "software and systems reliability")
88 " through application of " (em "formal methods") ".")
89 (p "My research at WatForm focuses on formal logic, model "
90 "checking, and verification. I’m also interested in "
91 "programming languages, theorem provers, and their "
92 "type systems. You may wish to view my academic "
93 (a (@ (href "bandali-cv.html")) "curriculum vitae") ".")
94 (p (@ (class "notice"))
95 (strong "SE 212 students: ")
96 "see " (a (@ (href "se212-f19/")) "here") " for slides and "
97 "other material from the tutorials.")
98 (p "On the side, I dabble in "
99 (a (@ (href "https://leanprover.github.io")) "Lean")
101 (a (@ (href "https://stallman.org/articles/on-hacking.html"))
104 (a (@ (href "https://www.gnu.org/software/emacs/manual/elisp.html"))
107 (a (@ (href "https://www.gnu.org/philosophy/free-sw.html"))
110 (a (@ (href "https://www.fsf.org/associate/")) "supporter")
112 (a (@ (href "https://www.gnu.org/people/#bandali"))
115 (a (@ (href "https://www.gnu.org/people/webmeisters.html#bandali"))
118 (a (@ (href "https://emacsel.com")) "Emacs.el")
120 (a (@ (href "https://www.pygopar.com"))
121 "Daniel Gopar") ", and organize "
122 (a (@ (href "https://emacsconf.org")) "EmacsConf") " with help"
123 " from many wonderful people. I am also a member of the"
124 " Systems Committee for the "
125 (a (@ (href "https://csclub.uwaterloo.ca")
126 (title ,(string-append
127 "Computer Science Club of the "
128 "University of Waterloo"))) "CSC")
130 (p "See my " (a (@ (href "contact.html")) "contact") " page for "
131 "how to best reach me.")
132 (h2 (@ (id "papers")) "Papers")
134 (dt "A Comparison of the Declarative Modelling Languages B, DASH,
136 (span (@ (class "plinks"))
138 (a (@ (href "papers/modre2018-declarative.pdf"))
141 (a (@ (href "papers/modre2018-declarative.bib"))
145 (a (@ (href "https://bandali.eu.org")) "Amin Bandali") ", "
146 (a (@ (href "https://cs.uwaterloo.ca/~nday/"))
150 (em "2018 IEEE 8th International Model-Driven Requirements"
151 " Engineering Workshop (MoDRE)")
153 "Copyright © 2018 IEEE. All Rights Reserved. Sadly."))
154 (h2 (@ (id "talks")) "Talks")
157 "The Magic of Specifications and Type Systems"
158 (span (@ (class "plinks"))
160 (a (@ (href "talks/cucsc-2017-slides.pdf")
161 (title ,(string-append
162 "presented at the Canadian Undergraduate"
163 " Computer Science Conference 2017,\n"
164 "University of Toronto, Canada,"
165 "June 15–17, 2017")))
168 (a (@ (href "talks/eecs4080-poster.pdf")
169 (title ,(string-append
170 "presented at the Lassonde Undergraduate"
171 " Summer Student Research Conference,\n"
172 "York University, Toronto, Canada,"
176 (dd (a (@ (href "https://bandali.eu.org")) "Amin Bandali") ", "
177 (a (@ (href "https://github.com/cipher1024"))
180 (a (@ (href "http://www.cse.yorku.ca/~jonathan/"))
181 "Jonathan S. Ostroff")))
182 (h2 (@ (id "projects")) "Projects")
183 (p "Below are a number of free software projects I have worked "
186 (dt (a (@ (href "https://git.sr.ht/~bandali/george-mode"))
188 (dd "Emacs major mode for editing George files")
189 (dt (a (@ (href "https://git.uwaterloo.ca/bandali/alloy-catalyst"))
191 (dd "Framework for performance analysis of Alloy models")
192 (dt (a (@ (href "https://github.com/unitb/unitb-web"))
194 (dd "Web interface for Unit-B")
195 (dt (a (@ (href "https://github.com/unitb/tex2png-hs"))
197 (dd "Library and CLI for converting TeX and LaTeX to PNG "
199 (h2 (@ (id "notes")) "Notes")
203 (define (post-uri post)
205 (site-post-slug site post) ".html"))
207 (a (@ (href ,(post-uri post)))
208 ,(post-ref post 'title))
209 " — " ,(date->string (post-date post) "~B ~d, ~Y")))
210 (take-up-to 10 (posts/reverse-chronological posts))))))
212 (define (index-page site posts)
215 (base-layout site (index-material site posts))
218 (define my-domain "bandali.eu.org")
220 (site #:title "Amin Bandali"
223 '((author . "Amin Bandali")
224 (email . "bandali@gnu.org")
225 (domain . my-domain))
226 #:readers (list commonmark-reader)
227 #:builders (list (blog #:theme bandali-theme
229 `(("Notes" "notes.html"
230 ,posts/reverse-chronological)))
234 (static-directory "static" "")))