LEA version 0.93

LEA is a Lightweight Editor for Ada

Alire crate: here
Source repository #1: here
Source repository #2: here
Web site: here

:new: Changes since last announcement here:

  • LEA now checks externally changed files, à la GNAT Studio, and offers to reload the contents into the respective editor windows - see screenshot below. For instance if you use LEA as the external editor for GNAT Studio and have the same Ada source open in both, you don’t risk having the following situation: modifying something in the GNAT Studio editor window, saving and closing that editor window, then modifying something else in the LEA editor window, saving and then losing the changes made in GNAT Studio.

The LEA executable is standalone, holds in 4 MB and doesn’t require an installation procedure.

Features:

  • Multi-document
  • Multiple undo’s & redo’s
  • Multi-line (vertical) & multi-point edit, rectangular selections
  • Color themes, easy to switch
  • Duplication of lines and selections
  • Syntax highlighting
  • Parenthesis matching
  • Bookmarks
  • Includes HAC, the HAC Ada Compiler
  • Smart editor features (auto-completion, navigation, mouse-hover infos)
  • Includes numerous examples of Ada programs, ready to be run
  • Single executable, runs without installation
  • Free, Open-Source

LEA is programmed in Ada, as well as HAC.

Enjoy!

8 Likes

Thank you. I have LEA on my USB stick, which I always carry with me.

1 Like

This might be an interesting starting point for a Arduino replacement in and for Ada. Do you plan to support Alire directly?

I do not plan not to support Alire. Currently there is a HAC/general/projectless mode and an inactive GNAT mode. So it could be something to add an Alire mode.

2 Likes

Update: just added an Alire mode as a placeholder Added Alire mode · zertovitch/lea@a077e0d · GitHub - with “alr build” and “alr run” comments that will turn into Spawn ("alr build") and Spawn ("alr run") in a hopefully near future…

3 Likes

Now you can switch to “Alire mode” (“View” menu), then from any file in your crate, choose Build (“Actions” menu or F4) or Run (“Actions” menu, F9 or the green button): Alire will do the job!

4 Likes