Luciole v2

Pascal Raymond

2020-05-05

#Luciole v2 overview

Luciole v2 is a set of libraries and utilities for quickly build GUI’s (Graphical User Interface) for reactive synchronous programs. It targets in particular Lustre programs, but can it can handle other reactive programs encapsulated into DRO libraries (Dynamic-Loaded Reactive Object).

Differences with luciole v1

This section quickly presents the similarities and differences with the previous version of luciole. If you are not familiar with the previous version, you can skip this part.

Aside these similarities, the core of the tool has been completely remade. In particular, luciole v2 is almost entirely developed in pure tcltk, while v1 was mostly developed in c++. It makes the portability of the tool much simpler, since it only requires a standard install of tcltk.

Components

Luciole is based on tcltk 8.6, and is made of several components:

Basic usage: luciole command line

For a basic usage, the knowledge the luciole script is sufficient, in particular it does not require to manipulate a .luc script. The command-line arguments and the functionalities are the same as the previous luciole command version

luciole <file.dro>

luciole <file.ec>

luciole <file.lus>

luciole

Advanced usage

For advanced usage, knowledge on luciole components is necessary. Some knowlege on tcl programming is indeed also necessary.

Each component is explained in details in the sequel. Here is a list of typical needs, together with the sections to look for:

Default Reactive GUI

Overview

Panel

Widgets

Build-in features

Extra features: luciolerc

Real-time steps

Sim2chro

Customizing luciolerc

Lustubs library

Luciole package and Luciole scripts

Luciole script

Ptk package

Ptk is a library to ease the programming of GUI’s with tcltk. It is used by, but not specific to luciole.

See Ptk manual for details.

Exemples and demos