Difference between revisions of "The Latex to LSC Compiler"
From WeizmannWiki
(This page explains how to write Contextul LSCs in Latex, compile them into PlayGo LSC instances, and finally execute them.) |
|||
Line 1: | Line 1: | ||
− | + | This page explains how to write Contextul LSCs (Con-LSC) in Latex, compile them into PlayGo LSC instances, and finally execute them. | |
− | + | In nutshell, these are the required steps: | |
− | + | #Download the PlayGo Environment. | |
+ | #Add Latex Con-LSCs to LSC.tex. | ||
+ | #Execute the Latex2PlayGo compiler. | ||
+ | #Import the compiled file in PlayGo and execute it. | ||
− | + | = The PlayGo Environment = | |
− | + | First you need to download ([https://weizmann.box.com/s/vze4kqq5gbf01cw92lx5dwijjju1pddb here]) a PlayGo version that includes a template project and the Latex2PlayGo compiler. | |
− | + | After extracting the zip file you will find the following directory structure (the structure includes only directories relevant to this tutorial). Directories are marked with (D) and files with (F): | |
+ | |||
+ | <code>(D) PlayGo_4.0_19042017</code> | ||
+ | |||
+ | <code>|</code> | ||
+ | |||
+ | <code>(D) playgo </code> | ||
+ | |||
+ | <code>|</code> | ||
+ | |||
+ | <code>(F) playgo.exe</code> | ||
+ | |||
+ | <code>(D) workspace</code> | ||
+ | |||
+ | <code>|</code> | ||
+ | |||
+ | <code>(D) Latex2Lsc</code> | ||
+ | |||
+ | <code>|</code> | ||
+ | |||
+ | <code>(F) LSC.tex</code> | ||
+ | |||
+ | <code>(F) GeneratedLSC.lsc</code> | ||
+ | |||
+ | <code>(D) src</code> | ||
+ | |||
+ | <code>|</code> | ||
+ | |||
+ | <code>(F) Latex2PlayGoCompiler.java</code> | ||
+ | |||
+ | <br/>Executin playgo.exe will start PlayGo. | ||
+ | |||
+ | == General links: == | ||
+ | |||
+ | [https://weizmann.box.com/s/irjrbvlipdol1vm64v0kf7uju00lqzn1 PlayGo userguide]. | ||
+ | |||
+ | [http://wiki.weizmann.ac.il/playgo/index.php/Main_Page PlayGo homepage] - more information and tutorials. | ||
+ | |||
+ | = Latex Con-LSC = |
Revision as of 14:38, 17 May 2017
This page explains how to write Contextul LSCs (Con-LSC) in Latex, compile them into PlayGo LSC instances, and finally execute them.
In nutshell, these are the required steps:
- Download the PlayGo Environment.
- Add Latex Con-LSCs to LSC.tex.
- Execute the Latex2PlayGo compiler.
- Import the compiled file in PlayGo and execute it.
The PlayGo Environment
First you need to download (here) a PlayGo version that includes a template project and the Latex2PlayGo compiler.
After extracting the zip file you will find the following directory structure (the structure includes only directories relevant to this tutorial). Directories are marked with (D) and files with (F):
(D) PlayGo_4.0_19042017
|
(D) playgo
|
(F) playgo.exe
(D) workspace
|
(D) Latex2Lsc
|
(F) LSC.tex
(F) GeneratedLSC.lsc
(D) src
|
(F) Latex2PlayGoCompiler.java
Executin playgo.exe will start PlayGo.
General links:
PlayGo homepage - more information and tutorials.