aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2021-09-17 14:18:07 +0100
committerYann Herklotz <git@yannherklotz.com>2021-09-17 14:18:07 +0100
commitbb7686d0e7836e6bd919f0982ddb5ea7a472a8d8 (patch)
tree0c166b471086ef1e79b20d8625d6cf042d9545d3
parent5267842354c708b8817d8ef24516f36aabda5a89 (diff)
downloadyannherklotz.com-bb7686d0e7836e6bd919f0982ddb5ea7a472a8d8.tar.gz
yannherklotz.com-bb7686d0e7836e6bd919f0982ddb5ea7a472a8d8.zip
Export the header into setup.org
-rw-r--r--content.org37
-rw-r--r--setup.org13
2 files changed, 25 insertions, 25 deletions
diff --git a/content.org b/content.org
index e62b0b8..9e3b2e0 100644
--- a/content.org
+++ b/content.org
@@ -1,17 +1,7 @@
-#+title: Content
-#+hugo_base_dir: ./
-#+hugo_section: ./
-
-#+begin_src emacs-lisp :exports none
-(setq org-export-babel-evaluate 'inline-only)
-
-(defun ymhg/link (arg1 arg2)
- (cond
- ((eq 'hugo org-export-current-backend) arg1)
- (t arg2)))
-#+end_src
-
-#+macro: link src_emacs-lisp[:results raw]{(ymhg/link "$1" "$2")}
+#+title: Personal Document
+#+author: Yann Herklotz
+#+email: yann@yannherklotz.com
+#+setupfile: setup.org
* Yann Herklotz
:PROPERTIES:
@@ -20,8 +10,8 @@
#+html: <img src="/images/portrait.jpg" alt="Profile picture" class="profile-picture" />
-@@hugo:<span class="first-letter">H</span>@@@@latex:H@@i! I'm currently a first year PhD student in the Circuits and Systems group at Imperial College
-London, supervised by [[https://johnwickerson.github.io][John Wickerson]].
+@@hugo:<span class="first-letter">H</span>@@@@latex:H@@i! I'm currently a first year PhD student in
+the Circuits and Systems group at Imperial College London, supervised by [[https://johnwickerson.github.io][John Wickerson]].
My research focuses on formalising the process of converting high-level programming language
descriptions to correct hardware that is functionally equivalent to the input. This process is
@@ -1201,7 +1191,7 @@ This command line utility has to first be set up using a config file, which is u
The most important parts to set up in the config file are
-#+begin_src emacs-lisp
+#+begin_src text
IMAPAccount gmail
Host imap.gmail.com
User user@gmail.com
@@ -1213,7 +1203,7 @@ The most important parts to set up in the config file are
to setup the account, and then the following to setup the directories where it should download
emails to
-#+begin_src emacs-lisp
+#+begin_src text
IMAPStore gmail-remote
Account gmail
@@ -1349,18 +1339,15 @@ advantage of this is that the compiler does not have to be as clever anymore, as
instructions that correspond directly with something that a programmer wants to do in the code,
however, it means that the complexity of the hardware increases by a lot.
-*** C to MIPS32 Compiler
+** C to MIPS32 Compiler
:PROPERTIES:
:EXPORT_DATE: 2017-02-20
-:EXPORT_FILE_NAME: 2017-02-20-compiler
+:EXPORT_FILE_NAME: compiler
:EXPORT_HUGO_SECTION: blog
-:CUSTOM_ID: cpu-introduction
+:EXPORT_HUGO_CUSTOM_FRONT_MATTER: :summary "Implemented a C compiler to MIPS assembly code using flex and bison as the frontend. An abstract syntax tree is built from the parser and code generation is implemented as part of the AST." :aliases '(/blog/2017-02-20-compiler.html)
+:CUSTOM_ID: compiler
:END:
-#+begin_summary
-Implemented a C compiler to MIPS assembly code using flex and bison as the frontend. An abstract syntax tree is built from the parser and code generation is implemented as part of the AST.
-#+end_summary
-
The compiler was made to translate C code to MIPS assembly. It was then tested using =qemu= and
simulating the MIPS processor to run the binary.
diff --git a/setup.org b/setup.org
new file mode 100644
index 0000000..f4b5bb6
--- /dev/null
+++ b/setup.org
@@ -0,0 +1,13 @@
+#+hugo_base_dir: ./
+#+hugo_section: ./
+
+#+begin_src emacs-lisp :exports results :results none
+(setq org-export-babel-evaluate 'inline-only)
+
+(defun ymhg/link (arg1 arg2)
+ (cond
+ ((eq 'hugo org-export-current-backend) arg1)
+ (t arg2)))
+#+end_src
+
+#+macro: link src_emacs-lisp[:results raw]{(ymhg/link "$1" "$2")}