You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Repl.lhs
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,3 @@
1
-
\section{MicroHs REPL Mechanism}
2
-
\label{sec:repl}
3
-
4
1
The MicroHs REPL layer provides the continuity required by notebooks: each cell is evaluated against a persistent semantic context rather than in isolation. The C++ Xeus interpreter forwards requests through a small FFI surface, and this module translates those requests into explicit, auditable transitions over \verb|ReplCtx|.
5
2
6
3
A practical constraint of MicroHs is that startup work and incremental compilation cost must be managed carefully.
Copy file name to clipboardExpand all lines: xhaskell.tex
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@
6
6
\usepackage{pifont}
7
7
\usepackage{enumitem}
8
8
\usepackage{minted}
9
+
\usepackage[sfdefault]{carlito}
10
+
\renewcommand{\familydefault}{\sfdefault}
9
11
\geometry{margin=1in}
10
12
11
13
\definecolor{xhbg}{HTML}{FAFAFA}
@@ -108,15 +110,15 @@ \subsection{System Stack}
108
110
\subsection{Layer Details}
109
111
110
112
111
-
\subsubsection{1. Jupyter and Xeus Protocol Layer}
113
+
\subsubsection{Jupyter and Xeus Protocol Layer}
112
114
113
115
114
116
This layer handles the ZeroMQ-based Jupyter protocol. It manages the heartbeat, shell, and control sockets.
115
-
\subsubsection{2. Xeus to Kernel Interpreter Layer}
117
+
\subsubsection{Xeus to Kernel Interpreter Layer}
116
118
117
119
118
120
The \texttt{xinterpreter} implementation hooks into the Xeus kernel lifecycle. It receives execution requests and delegates them to the Haskell backend.
119
-
\subsubsection{3. C++ Bridge to Haskell Runtime Layer}
121
+
\subsubsection{C++ Bridge to Haskell Runtime Layer}
120
122
121
123
122
124
This is the bridge layer between C++ and the Haskell-compiled Compiler API wrapper (\texttt{Repl.lhs}).
0 commit comments