mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
Merge branch '1.10' of github.com:JetBrains-Research/Lama into 1.10
This commit is contained in:
commit
79460b7442
13 changed files with 45 additions and 2 deletions
|
|
@ -65,7 +65,12 @@ Windows users should get Windows Subsystem for Linux a.k.a WSL (recommended) or
|
|||
|
||||
* Install right [switch](https://opam.ocaml.org/doc/Manual.html#Switches) for OCaml compiler
|
||||
|
||||
`opam switch create lama ocaml-variants.4.10.1+flambda`
|
||||
```
|
||||
# for fresh opam
|
||||
opam switch create 4.14.0+flambda --packages=ocaml-variants.4.14.0+options,ocaml-option-flambda
|
||||
# for old opam
|
||||
opam switch create lama ocaml-variants.4.10.1+flambda
|
||||
```
|
||||
|
||||
In above command:
|
||||
|
||||
|
|
|
|||
4
spec/.gitignore
vendored
4
spec/.gitignore
vendored
|
|
@ -1 +1,5 @@
|
|||
commitdate.tex
|
||||
*.log
|
||||
*.out
|
||||
*.synctex.gz
|
||||
*.toc
|
||||
|
|
@ -1,3 +1,6 @@
|
|||
% !TEX TS-program = pdflatex
|
||||
% !TeX spellcheck = en_US
|
||||
% !TEX root = lama-spec.tex
|
||||
\chapter{Introduction}
|
||||
|
||||
\lama is a programming language developed by JetBrains Research for educational purposes as an exemplary language to introduce
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
% !TEX TS-program = pdflatex
|
||||
% !TeX spellcheck = en_US
|
||||
% !TEX root = lama-spec.tex
|
||||
|
||||
\section{Lexical Structure}
|
||||
\label{sec:lexical_structure}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
% !TEX TS-program = pdflatex
|
||||
% !TeX spellcheck = en_US
|
||||
% !TEX root = lama-spec.tex
|
||||
\FloatBarrier
|
||||
|
||||
\begin{figure}[t]
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
% !TEX TS-program = pdflatex
|
||||
% !TeX spellcheck = en_US
|
||||
% !TEX root = lama-spec.tex
|
||||
\begin{figure}[t]
|
||||
\[
|
||||
\begin{array}{rclc}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
% !TEX TS-program = pdflatex
|
||||
% !TeX spellcheck = en_US
|
||||
% !TEX root = lama-spec.tex
|
||||
\section{Expressions}
|
||||
\label{sec:expressions}
|
||||
|
||||
|
|
@ -37,7 +40,7 @@ property ``$e$ is a reference''. The result of assignment operator coincides wit
|
|||
assigns 3 to both "\lstinline|x|" and "\lstinline|y|".
|
||||
|
||||
\begin{figure}[h]
|
||||
\newcommand{\Ref}[1]{\mathcal{R}\,({#1})}
|
||||
\renewcommand{\Ref}[1]{\mathcal{R}\,({#1})}
|
||||
\renewcommand{\arraystretch}{4}
|
||||
\[
|
||||
\begin{array}{cc}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
% !TEX TS-program = pdflatex
|
||||
% !TeX spellcheck = en_US
|
||||
% !TEX root = lama-spec.tex
|
||||
\chapter{Extensions}
|
||||
\label{sec:extensions}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
% !TEX TS-program = pdflatex
|
||||
% !TeX spellcheck = en_US
|
||||
% !TEX root = lama-spec.tex
|
||||
\chapter{Driver Options and Separate Compilation}
|
||||
\label{sec:driver}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
% !TEX TS-program = pdflatex
|
||||
% !TeX spellcheck = en_US
|
||||
% !TEX root = lama-spec.tex
|
||||
\chapter{Implementation-dependent Limitations}
|
||||
\label{sec:limitations}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
% !TEX TS-program = pdflatex
|
||||
% !TeX spellcheck = en_US
|
||||
% !TEX root = lama-spec.tex
|
||||
\chapter{Debugging Support}
|
||||
\label{sec:debugging}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
% !TEX TS-program = pdflatex
|
||||
% !TeX spellcheck = en_US
|
||||
% !TEX root = lama-spec.tex
|
||||
\chapter{Standard Library}
|
||||
\label{sec:stdlib}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
% !TEX TS-program = pdflatex
|
||||
% !TeX spellcheck = en_US
|
||||
% !TEX root = lama-spec.tex
|
||||
\documentclass{book}
|
||||
|
||||
\newcommand\hmmax{0}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue