MyGit

cservenka/ROOPLPPC

Fork: 1 Star: 4 (更新于 2024-10-26 04:35:08)

license: MIT

Language: Haskell .

ROOPL++ to PISA Compiler

GitHub网址

ROOPLPPC

ROOPLPP is a compiler translating source code written in Reversible Object Oriented Programming Language++ (ROOPL++) to the reversible assembly language Pendulum ISA (PISA).

The compiler is to be considered proof-of-concept in connection with my Master's Thesis on the ROOPL++ language.

Requirements

ROOPLPPC uses Stack to manage all dependencies and requirements.

Building

Simply invoke

stack build

which compiles an executable into the .stack-work folder

Usage

To compile a ROOPL++ program simply run

stack exec ROOPLPPC input.rplpp

which compiles the input program into Pisa and stores the compiled file as input.pal in the current directory.

To specify an output file name, simply provide it as an additional argument

stack exec ROOPLPP input.rplpp output.pal

Examples

To see usage examples, please refer to test/ for example programs.

Running compiled programs

The PendVM simulator executes compiled Pisa code and is hosted on Github here.

最近版本更新:(数据更新于 2024-09-06 23:14:44)

主题(topics):

compiler, object-oriented-programming, pisa, reversible-programming-language

cservenka/ROOPLPPC同语言 Haskell最近更新仓库

2024-08-22 12:09:58 ivanperez-keera/dunai

2024-05-25 09:59:31 reflex-frp/reflex-vty

2023-11-11 06:13:10 clash-lang/clash-compiler

2022-08-13 21:55:30 HeinrichApfelmus/reactive-banana

2016-10-03 14:00:16 z0w0/helm

1970-01-01 00:00:00 haskell/binary