A compiler from monicelli language to Common Lisp.
|
2 months ago | |
---|---|---|
examples | 5 years ago | |
src | 5 years ago | |
.gitignore | 5 years ago | |
Makefile.am | 5 years ago | |
README.org | 2 months ago | |
README.txt | 5 years ago | |
TODO.org | 5 years ago | |
cazzilli.asd | 5 years ago | |
compare_version.awk | 5 years ago | |
configure.ac | 5 years ago | |
quick_quicklisp.sh.in | 5 years ago |
Cazzilli is a compiler for Monicelli that targets Common Lisp. For information about Monicelli point the browser to the original implementation.
The name of this compiler is a reference of a typical dish of southern Italian cuisine symbolically offered to a great film director from (Center)Northern Italy: Mario Monicelli, come fosse trazione per due.
This project is in a very early status, but nevertheless is able to compile a simple example.
compile and generate an executable with:
#+BEGIN_SRC sh $ cazzilli "source-file" "executable-file" #+END_SRC
Note that if already exists on your file system "executable-file" will be overwritten. Please remember this and also that there is NO WARRANTY.
| name | parameter | |---------------------+-----------------------| | parser:parse-stream | a stream | |---------------------+-----------------------| | parser:parse-file | a pathname designator |
both functions above will return 4 values:
The last two are useful only for debugging purposes.
#+BEGIN_SRC text con scappellamento a per #+END_SRC
is accepted but
#+BEGIN_SRC text con scappellamento a per #+END_SRC
is not. Note that:
#+BEGIN_SRC text con scappellamento a per #+END_SRC
is OK.
Of course patches are welcome.
#+BEGIN_SRC text l'orologio #+END_SRC
is accepted but
#+BEGIN_SRC text l' orologio #+END_SRC
is not.
Also see BUGS.
#+BEGIN_SRC text 42 a posterdati #+END_SRC
will print *
(see: ascii(7)), not 42
.
"a posterdati"
statement does not print a newline by default.Currently the compilation errors reported to the user are very poor. Hopefully this is going to be corrected soon; but do not hold your breath! ^_^;
Please send bug report to cage-dev at twistfold dot it or point your browser to the notabug repository.
This program is released under GNU General Public license version 3 or later (see COPYING file).
Any help is appreciated. If you intend to contribute please send a message to cage-dev at twistfold dot it or, alternatively, point your browser to the issue tracker.
cazzilli a compiler from Monicelli language to common lisp. Copyright (C) 2018 cage
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
All the proper merits for the language goes to the people whom originally ideated it.