Merge branch '1.10' of github.com:JetBrains-Research/Lama into 1.10

This commit is contained in:
Dmitry Boulytchev 2022-09-13 09:20:45 +03:00
commit 79460b7442
13 changed files with 45 additions and 2 deletions

View file

@ -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
View file

@ -1 +1,5 @@
commitdate.tex
*.log
*.out
*.synctex.gz
*.toc

View file

@ -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

View file

@ -1,3 +1,7 @@
% !TEX TS-program = pdflatex
% !TeX spellcheck = en_US
% !TEX root = lama-spec.tex
\section{Lexical Structure}
\label{sec:lexical_structure}

View file

@ -1,3 +1,6 @@
% !TEX TS-program = pdflatex
% !TeX spellcheck = en_US
% !TEX root = lama-spec.tex
\FloatBarrier
\begin{figure}[t]

View file

@ -1,3 +1,6 @@
% !TEX TS-program = pdflatex
% !TeX spellcheck = en_US
% !TEX root = lama-spec.tex
\begin{figure}[t]
\[
\begin{array}{rclc}

View file

@ -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}

View file

@ -1,3 +1,6 @@
% !TEX TS-program = pdflatex
% !TeX spellcheck = en_US
% !TEX root = lama-spec.tex
\chapter{Extensions}
\label{sec:extensions}

View file

@ -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}

View file

@ -1,3 +1,6 @@
% !TEX TS-program = pdflatex
% !TeX spellcheck = en_US
% !TEX root = lama-spec.tex
\chapter{Implementation-dependent Limitations}
\label{sec:limitations}

View file

@ -1,3 +1,6 @@
% !TEX TS-program = pdflatex
% !TeX spellcheck = en_US
% !TEX root = lama-spec.tex
\chapter{Debugging Support}
\label{sec:debugging}

View file

@ -1,3 +1,6 @@
% !TEX TS-program = pdflatex
% !TeX spellcheck = en_US
% !TEX root = lama-spec.tex
\chapter{Standard Library}
\label{sec:stdlib}

View file

@ -1,3 +1,6 @@
% !TEX TS-program = pdflatex
% !TeX spellcheck = en_US
% !TEX root = lama-spec.tex
\documentclass{book}
\newcommand\hmmax{0}