Преглед изворни кода

WIP beginning presentation

Lily Carpenter пре 9 година
родитељ
комит
c2328569b5
5 измењених фајлова са 91 додато и 0 уклоњено
  1. 27 0
      LICENSE
  2. 1 0
      README.org
  3. 5 0
      build.sh
  4. BIN
      john-mccarthy-programming-wrong.jpg
  5. 58 0
      presentation.tex

+ 27 - 0
LICENSE

@@ -0,0 +1,27 @@
1
+Copyright (c) 2015, Lily Carpenter
2
+All rights reserved.
3
+
4
+Redistribution and use in source and binary forms, with or without
5
+modification, are permitted provided that the following conditions are met:
6
+
7
+* Redistributions of source code must retain the above copyright notice, this
8
+  list of conditions and the following disclaimer.
9
+
10
+* Redistributions in binary form must reproduce the above copyright notice,
11
+  this list of conditions and the following disclaimer in the documentation
12
+  and/or other materials provided with the distribution.
13
+
14
+* Neither the name of clojure-core-presentation nor the names of its
15
+  contributors may be used to endorse or promote products derived from
16
+  this software without specific prior written permission.
17
+
18
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
22
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
25
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

+ 1 - 0
README.org

@@ -1 +1,2 @@
1
+* Modern Game Development in Common Lisp
1 2
 A presentation on making games with Common Lisp. Intended for people who do not currently program in Common Lisp, so includes some general Common Lisp knowledge/propaganda. Written in LaTex, exported as pdf.

+ 5 - 0
build.sh

@@ -0,0 +1,5 @@
1
+#!/bin/sh
2
+
3
+# You will need to install pdflatex binary and the upquote latex package to use
4
+# the instructions for this are very environment specific
5
+pdflatex --shell-escape presentation.tex

BIN
john-mccarthy-programming-wrong.jpg


+ 58 - 0
presentation.tex

@@ -0,0 +1,58 @@
1
+% Local Variables:
2
+% TeX-command-extra-options: "-shell-escape"
3
+% End:
4
+\documentclass{beamer}
5
+\title{Modern Game Dev with Lisp}
6
+\subtitle{A lisp propaganda piece}
7
+\author{Lily Carpenter}
8
+\institute{https://www.azrazalea.net}
9
+\mode<presentation> {\usetheme{Dresden}}
10
+\date{2016-02-04}
11
+
12
+\usepackage[utf8]{inputenc}
13
+\usepackage{times}
14
+\usepackage[T1]{fontenc}
15
+\usepackage[english]{babel}
16
+\usepackage{hyperref}
17
+\usepackage{minted}
18
+\usepackage{upquote}
19
+
20
+\begin{document}
21
+
22
+\begin{frame}
23
+  \titlepage
24
+\end{frame}
25
+
26
+\begin{frame}
27
+  \frametitle{Summary}
28
+  \tableofcontents
29
+\end{frame}
30
+
31
+\section{What is lisp?}
32
+
33
+\begin{frame}
34
+  \frametitle{John McCarthy(1927-09-04 to 2011-10-24)}
35
+  \begin{center}
36
+    \includegraphics[scale=0.33]{john-mccarthy-programming-wrong}
37
+  \end{center}
38
+\end{frame}
39
+
40
+\begin{frame}[fragile]
41
+  \frametitle{An example}
42
+  \begin{minted}[gobble=4,fontsize=\footnotesize]{cl}
43
+    ;; From http://rosettacode.org/wiki/Fibonacci_sequence
44
+    (defun fibonacci-tail-recursive (n &optional (a 0) (b 1))
45
+      (if (= n 0)
46
+        a
47
+        (fibonacci-tail-recursive (- n 1) b (+ a b))))
48
+  \end{minted}
49
+\end{frame}
50
+
51
+\section{Useful Lisp Features}
52
+
53
+\begin{frame}
54
+  \frametitle{Dummy}
55
+
56
+\end{frame}
57
+
58
+\end{document}