https://github.com/andreafioraldi/til-compiler
Tripel Intermediate Language Compiler - Compile an XML based assembly language to bytecode for the Tripel Virtual Machine
https://github.com/andreafioraldi/til-compiler
assembly-language bison bytecode c cmake compiler flex language-compiler libxml2 parser xml
Last synced: 3 months ago
JSON representation
Tripel Intermediate Language Compiler - Compile an XML based assembly language to bytecode for the Tripel Virtual Machine
- Host: GitHub
- URL: https://github.com/andreafioraldi/til-compiler
- Owner: andreafioraldi
- License: lgpl-3.0
- Created: 2017-02-27T21:55:11.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-02T10:37:54.000Z (about 8 years ago)
- Last Synced: 2025-01-30T13:26:18.302Z (4 months ago)
- Topics: assembly-language, bison, bytecode, c, cmake, compiler, flex, language-compiler, libxml2, parser, xml
- Language: C
- Size: 107 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# TIL-Compiler
Tripel Intermediate Language Compiler - Compile an XML based assembly language to bytecode for the Tripel Virtual Machine.## Dependencies
Needed libraries:
+ libxml2 - http://xmlsoft.org/Build tool:
+ cmake (version >= 3.0.2) - https://cmake.org/## How to install
```shell
cd
cmake
make
sudo make install
```## Usage
```
tilc [options]
```
Options:
+ ```--help``` Show help about usage
+ ```--info``` Print compiler build info
+ ```--stdout``` Print compiled bytecode to standard output
+ ```--stdin``` Get source code from standard input
+ ```-o ``` Set output file name## License
> Copyright 2017 Andrea Fioraldi
>
> TIL Compiler is free software; you can redistribute it and/or modify
> it under the terms of the GNU Lesser General Public License as published by
> the Free Software Foundation; either version 3 of the License, or
> (at your option) any later version.
>
> TIL Compiler 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 Lesser General Public License for more details.
>
> You should have received a copy of the GNU Lesser General Public License
> along with this program; if not, write to the Free Software
> Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
> MA 02110-1301, USA.