Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

sungaila/uebersetzerbauSWP

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twee2Z

A compiler for converting Twee source code into Z-code (version 8) . The resulting Z-code can be executed with Z-machines like Frotz.

Usage

Usage:  <source> <destination> -log <arg1> <arg2>

 -logAll    Activate all logs.
 -log       Activate specific logs. Possible arguments:
            all, analyzer, codegen, debug, objecttree, validation
            Input   : -log <arg1> <arg2> ...
            Example : -log analyzer debug
 -help      Display help message.
            Example usage: myTwee.tw zfile.z8 -logAll

##Release location TODO ##Libs

##Example test files https://github.com/humsp/uebersetzerbauSWP/tree/develop/Twee2Z/TestFiles/UnitTestFiles

##Features

  • passages
  • functions:
    • random
    • visited
    • turns
  • links
  • variables: short, boolean
  • macro
    • set
    • print
    • display
    • if elsif else
  • expressions exclude string concatenation

##History Twee2Z was developed by 8 students as part of the computer science course "SWP Compiler Engineering 2015" at FU-Berlin.