Difference between revisions of "The Latex to LSC Compiler"

From WeizmannWiki
Jump to: navigation, search
Line 13: Line 13:
  
 
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):
 
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):
 
+
<div>(D)&nbsp;PlayGo_4.0_19042017</div><div style="margin-left: 40px;">|</div><div style="margin-left: 40px;">(D) playgo</div><div style="margin-left: 80px;">|</div><div style="margin-left: 80px;">(F) playgo.exe</div><div style="margin-left: 40px;">(D)&nbsp;workspace</div><div style="margin-left: 80px;">|</div><div style="margin-left: 80px;">(D)&nbsp;Latex2Lsc</div><div style="margin-left: 120px;">|</div><div style="margin-left: 120px;">(F)&nbsp;LSC.tex</div><div style="margin-left: 120px;">(F)&nbsp;GeneratedLSC.lsc</div><div style="margin-left: 120px;">(D)&nbsp;src</div><div style="margin-left: 160px;">|</div><div style="margin-left: 160px;">(F) Latex2PlayGoCompiler.java</div>
<code>(D)&nbsp;PlayGo_4.0_19042017</code>
+
 
+
<code>|</code>
+
 
+
<code>(D) playgo&nbsp;</code>
+
 
+
<code>|</code>
+
 
+
<code>(F) playgo.exe</code>
+
 
+
<code>(D)&nbsp;workspace</code>
+
 
+
<code>|</code>
+
 
+
<code>(D)&nbsp;Latex2Lsc</code>
+
 
+
<code>|</code>
+
 
+
<code>(F)&nbsp;LSC.tex</code>
+
 
+
<code>(F)&nbsp;GeneratedLSC.lsc</code>
+
 
+
<code>(D)&nbsp;src</code>
+
 
+
<code>|</code>
+
 
+
<code>(F) Latex2PlayGoCompiler.java</code>
+
 
+
 
<br/>Executin playgo.exe will start PlayGo.
 
<br/>Executin playgo.exe will start PlayGo.
  

Revision as of 21: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:

  1. Download the PlayGo Environment.
  2. Add Latex Con-LSCs to LSC.tex.
  3. Execute the Latex2PlayGo compiler.
  4. 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 userguide.

PlayGo homepage - more information and tutorials.

Latex Con-LSC