mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-05 22:38:44 +00:00
Use SVG LaMa icon instead of PNG
Because PNG is not scalable and looks ugly. The actual SVG was generated using https://viereck.ch/latex-to-svg/ from the following LaTeX code: \lambda\kern -.1667em\lower -.5ex\hbox{$a$}\kern -.1000em\lower .2ex\hbox{$\mathcal M$}\kern -.1000em\lower -.5ex\hbox{$a$} Signed-off-by: Kakadu <Kakadu@pm.me>
This commit is contained in:
parent
07a131a31d
commit
137207a6d9
2 changed files with 10 additions and 10 deletions
10
README.md
10
README.md
|
|
@ -7,11 +7,9 @@
|
|||
[3]: https://github.com/JetBrains-Research/Lama-devel/workflows/Build/badge.svg?branch=1.10
|
||||
[4]: https://github.com/JetBrains-Research/Lama-devel/actions
|
||||
|
||||
|
||||
|
||||
# Lama
|
||||
|
||||
 is a programming language developed by JetBrains Research for educational purposes as an exemplary language to introduce
|
||||
 is a programming language developed by JetBrains Research for educational purposes as an exemplary language to introduce
|
||||
the domain of programming languages, compilers and tools. Its general characteristics are:
|
||||
|
||||
* procedural with first-class functions - functions can be passed as arguments, placed in data structures,
|
||||
|
|
@ -24,11 +22,11 @@ the domain of programming languages, compilers and tools. Its general characteri
|
|||
* with user-defined infix operators, including those defined in local scopes;
|
||||
* with automatic memory management (garbage collection).
|
||||
|
||||
The name  is an acronym for *Lambda-Algol* since the language has borrowed the syntactic shape of
|
||||
The name  is an acronym for *Lambda-Algol* since the language has borrowed the syntactic shape of
|
||||
operators from **Algol-68**; [**Haskell**](http://www.haskell.org) and [**OCaml**](http://ocaml.org) can be
|
||||
mentioned as other languages of inspiration.
|
||||
|
||||
The main purpose of  is to present a repertoire of constructs with certain runtime behavior and
|
||||
The main purpose of  is to present a repertoire of constructs with certain runtime behavior and
|
||||
relevant implementation techniques. The lack of a type system (a vital feature for a real-word language
|
||||
for software engineering) is an intensional decision which allows to show the unchained diversity
|
||||
of runtime behaviors, including those which a typical type system is called to prevent. On the other hand
|
||||
|
|
@ -37,7 +35,7 @@ type systems) on.
|
|||
|
||||
The current implementation contains a native code compiler for **x86-32**, written
|
||||
in **OCaml**, a runtime library with garbage-collection support, written in **C**, and a small
|
||||
standard library, written in  itself. The native code compiler uses **gcc** as a toolchain.
|
||||
standard library, written in  itself. The native code compiler uses **gcc** as a toolchain.
|
||||
|
||||
In addition, a source-level reference interpreter is implemented as well as a compiler to a small
|
||||
stack machine. The stack machine code can in turn be either interpreted on a stack machine interpreter, or
|
||||
|
|
|
|||
2
lama.svg
Normal file
2
lama.svg
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="44.800px" height="15.024px" viewBox="0 -694 2475.3 830.2" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><path id="MJX-11-TEX-I-3BB" d="M166 673Q166 685 183 694H202Q292 691 316 644Q322 629 373 486T474 207T524 67Q531 47 537 34T546 15T551 6T555 2T556 -2T550 -11H482Q457 3 450 18T399 152L354 277L340 262Q327 246 293 207T236 141Q211 112 174 69Q123 9 111 -1T83 -12Q47 -12 47 20Q47 37 61 52T199 187Q229 216 266 252T321 306L338 322Q338 323 288 462T234 612Q214 657 183 657Q166 657 166 673Z"></path><path id="MJX-11-TEX-I-61" d="M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z"></path><path id="MJX-11-TEX-C-4D" d="M28 9Q28 37 43 63T73 90Q77 90 83 84T103 70T141 57H146Q162 57 178 79T222 167Q266 279 295 371T334 513T349 598T358 651T371 677Q397 705 432 705Q442 705 445 699T452 666Q453 661 453 659Q475 538 509 405T568 207L574 192Q581 178 587 164T594 150Q596 150 635 189T693 248Q765 324 863 438T1024 626T1089 701Q1093 705 1100 705Q1111 705 1111 682Q1111 675 1108 660T1099 611T1086 540Q1041 277 1041 144Q1041 98 1044 75T1050 48T1059 42Q1064 41 1075 46Q1102 61 1121 61Q1137 61 1137 50Q1137 28 1087 0T1000 -29Q983 -29 972 -23T955 -9T945 16T942 45T941 83V96Q941 158 952 256T974 422L985 489Q984 489 939 436T821 300T698 164Q665 128 620 85T568 37Q564 34 558 34Q550 34 546 37T535 54Q512 91 496 127T450 259T389 498L384 518Q349 367 294 223T198 15Q155 -50 117 -50Q87 -50 61 -35T30 -6Q28 2 28 9Z"></path></defs><g stroke="currentColor" fill="currentColor" stroke-width="0" transform="matrix(1 0 0 -1 0 0)"><g data-mml-node="math"><g data-mml-node="mi"><use xlink:href="#MJX-11-TEX-I-3BB"></use></g><g data-mml-node="mspace" transform="translate(583, 0)"></g><g data-mml-node="mpadded" transform="translate(416.3, 0)"><g transform="translate(0, 215.5)"><g data-mml-node="mstyle"><g data-mml-node="TeXAtom"><g data-mml-node="mi"><use xlink:href="#MJX-11-TEX-I-61"></use></g></g></g></g></g><g data-mml-node="mspace" transform="translate(945.3, 0)"></g><g data-mml-node="mpadded" transform="translate(845.3, 0)"><g transform="translate(0, -86.2)"><g data-mml-node="mstyle"><g data-mml-node="TeXAtom"><g data-mml-node="TeXAtom"><g data-mml-node="mi"><use xlink:href="#MJX-11-TEX-C-4D"></use></g></g></g></g></g></g><g data-mml-node="mspace" transform="translate(2046.3, 0)"></g><g data-mml-node="mpadded" transform="translate(1946.3, 0)"><g transform="translate(0, 215.5)"><g data-mml-node="mstyle"><g data-mml-node="TeXAtom"><g data-mml-node="mi"><use xlink:href="#MJX-11-TEX-I-61"></use></g></g></g></g></g></g></g></svg>
|
||||
|
After Width: | Height: | Size: 3 KiB |
Loading…
Add table
Add a link
Reference in a new issue