mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-31 11:08:18 +00:00
External/public, better options
This commit is contained in:
parent
5a883d8fa9
commit
1a849e7a56
12 changed files with 294 additions and 93 deletions
13
doc/spec/01.general_characteristic.tex
Normal file
13
doc/spec/01.general_characteristic.tex
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
\section{General Characteristic of the Language}
|
||||
|
||||
\begin{itemize}
|
||||
\item procedural with first-class functions~--- functions can be passed as arguments, placed in data structures,
|
||||
returned and constructed at runtime via closures mechanism;
|
||||
\item with lexical static scoping;
|
||||
\item strict~--- all arguments of function application are evaluated before function's body;
|
||||
\item imperative~--- variables can be re-assigned, function calls can have side effects;
|
||||
\item untyped~--- no static type checking is performed;
|
||||
\item supports S-expressions and pattern-matching;
|
||||
\item supports user-defined infix operators, including those defined in local scopes;
|
||||
\item with automatic memory management (garbage collection).
|
||||
\end{itemize}
|
||||
Loading…
Add table
Add a link
Reference in a new issue