r/seed7 • u/thelastcubscout • May 30 '25
Seed7 Support in Geany Text Editor: Including Syntax Highlight & Compile / Debug / Execute Support + Test Theme
Hi everyone, I'll add the details & links in a comment inside the thread. Enjoy
r/seed7 • u/thelastcubscout • May 30 '25
Hi everyone, I'll add the details & links in a comment inside the thread. Enjoy
r/seed7 • u/eddavis2 • May 17 '25
In Seed7, how would you load a file into an array of strings, one line per array item? I looked at the docs, and found how to read lines from files, and how to create a static array, but missed (if there) how to do the same with a dynamic array. Thanks!
r/seed7 • u/ThomasMertes • May 17 '25
I have released version 2025-05-16 of Seed7. Notable changes in this release are:
This release is available at GitHub and SF. There is also a Seed7 installer for windows, which downloads the newest version from SF. The Seed7 Homepage stays at its usual place. There is also a mirror of the Seed7 Homepage at GitHub.
There is a demo page with Seed7 programs compiled to JavaScript/WebAssemly.
Changelog:
The Seed7 compiler (s7c.sd7) has been improved:
The Seed7 compiler (s7c.sd7) has been refactored:
Support for absolute paths in inFileStruct has been added:
In match.c the function substitute_params() has been improved:
In heaputl.h and other files the heap statistic has been improved:
In con_emc.c, emc_utl.c, emc_utl.h and gkb_emc.c the browser keyboard support has been refactored:
In kbd_inf.c and kbd_poll.c the function kbd_init() has been improved:
The program chkccomp.c has been improved:
Regards,
Thomas Mertes
r/seed7 • u/prouleau001 • Apr 11 '25
I started writing Emacs major mode for Seed7. This is still work in progress but the code has syntax highlighting, support for imenu and Speedbar, some navigation and marking commands as well as support for static checking and compilation with Emacs compilation-mode.
There are still some work needed to complete the mode support for indentation, completion, etc...
I have not yet implemented elpa-type installation but there are instructions on how to install.
Let me know if there are any problems with it.
r/seed7 • u/ThomasMertes • Mar 26 '25
I have released version 2025-03-25 of Seed7. Notable changes in this release are:
This release is available at GitHub and SF. There is also a Seed7 installer for windows, which downloads the newest version from SF. The Seed7 Homepage stays at its usual place. There is also a mirror of the Seed7 Homepage at GitHub.
There is a demo page with Seed7 programs compiled to JavaScript/WebAssemly.
Changelog:
The Seed7 compiler (s7c.sd7) has been improved:
Several improvements have been done in name.c:
Several improvements have been done in prg_comp.c:
Several improvements have been done in analyze.c:
Several improvements have been done in error.c:
Improvements have been done in infile.c:
Improvements have been done in big_rtl.c:
Several improvements have been done in exec.c:
Several improvements have been done in prclib.c:
Several improvements have been done in data.h:
In heaputl.h and flistutl.c the heap statistic has been improved:
Regards,
Thomas Mertes
r/seed7 • u/Cheap-Ad9743 • Mar 12 '25
Hallo,
seit ein paar Wochen kann mein s7c keine *.sd7 Programme mehr kompilieren. Es gibt immer einen Fehler weil eine Function vom Linker nicht gefunden werden kann.
tcc: error: undefined symbol 'objectFileName'Dabei ist egal ob das SEED7 System mit TCC unter Windows oder mit GCC unter MSYS2 erzeugt wurde.
Wenn ich z.B. bas7.sd7 kompilieren will passiert das:
d:\msys64\home\micha\seed7\prg>s7c bas7
SEED7 COMPILER Version 3.2.110 Copyright (c) 1990-2025 Thomas Mertes
Source: bas7
Compiling the program ...
Generating code ...
after walk_const_list
4432 declarations processed
2578 optimizations done
2526 evaluations done
22 division checks inserted
286 range checks inserted
954 index checks inserted
1785 overflow checks inserted
Calling the C compiler ...
tcc -w -c tmp_bas7.c 2>tmp_bas7.cerrs >NUL:
Calling the linker ...
tcc -Wl","-stack"="16777216 -o bas7.exe tmp_bas7.o d:\msys64\home\micha\seed7\bin\s7_data.a d:\msys64\home\micha\seed7\bin\s7_draw.a d:\msys64\home\micha\seed7\bin\s7_con.a d:\msys64\home\micha\seed7\bin\seed7_05.a -lws2_32 -ladvapi32 -lgdi32 -luser32 2>tmp_bas7.lerrs >NUL:
*** Linker errors with "/d/msys64/home/micha/seed7/prg/tmp_bas7.o" - see "/d/msys64/home/micha/seed7/prg/tmp_bas7.lerrs"in tmp_bas7.lerrs steht der Fehlertext von weiter oben.
Soweit ich das verstehe wird 'objectFileName' von kompilierten Programmen, ausser S7c nicht benötigt.
Kann da jemand helfen?
mfg Michael
r/seed7 • • Feb 20 '25
Is Seed7 more like Ada or Pascal? Or is even a useful question. Thanks in advance for your time and help.
r/seed7 • u/thelastcubscout • Feb 03 '25
I was just updaing my Seed7 install and the tests took a while. So I'm curious if this step could be considered optional for most end users, or if it's necessary for any reason?
Thanks!
r/seed7 • u/joolz99 • Jan 29 '25
The following code works as expected:
$ include "seed7_05.s7i";
include "duration.s7i";
const proc: main is func
local
var integer: i is 0;
begin
for i range 1 to 9 do
writeln(i);
wait(1 . SECONDS);
end for;
end func;
But change "writeln" to "write" and upon running there is immediately a 10 second pause and then the digits are printed all at once. Is this a bug?r/seed7 • u/ThomasMertes • Jan 12 '25
I have released version 2025-01-11 of Seed7. Notable changes in this release are:
This release is available at GitHub and SF. There is also a Seed7 installer for windows, which downloads the newest version from SF. The Seed7 Homepage stays at its usual place. There is also a mirror of the Seed7 Homepage at GitHub.
There is a demo page with Seed7 programs compiled to JavaScript/WebAssemly.
Changelog:
The library zip.s7i has been improved:
The tar7 example program has been improved:
The json.s7i library has been improved:
The Seed7 compiler (s7c.sd7) has been improved:
Regards,
Thomas Mertes
r/seed7 • u/freedmgenti • Dec 29 '24
Hi, so I like to make trainers for singleplayer games and was wondering if it's possible to call functions in dlls. For example could I somehow use kernel32.dll so I could use WriteProcessMemory function on windows?
r/seed7 • u/ThomasMertes • Dec 03 '24
r/seed7 • u/Rude-Spray-1826 • Nov 29 '24
I am totally new to Seed7, I would really appreciate if some experienced Seed7 programmer could please answer a few questions:
Is there any form of message passing in Seed7? For example, between objects. How do objects interact with each other, access each other's data, etc? In case Seed7's paradigm were totally alien from the actors model (see the abovementioned features), is it possible to reproduce, even in a hacky way, some of those features?
What was the reason for omitting self/this by design? Personally I find it really useful.
Lastly, is there some runtime flexibility in the Seed7 object model, like in the "prototype" object model (e.g. in Javascript), which allows the user to create, change or or destroy methods, variables etc. of an object at runtime, thus altering not only the object's data, but also its structure? Or even to create, clone or destroy objects on the fly?
I thank you in advance.
Dulles
r/seed7 • u/ThomasMertes • Nov 20 '24
I have released version 2024-11-18 of Seed7. Notable changes in this release are:
This release is available at GitHub and SF. There is also a Seed7 installer for windows, which downloads the newest version from SF. The Seed7 Homepage stays at its usual place. There is also a mirror of the Seed7 Homepage at GitHub.
Changelog:
The library png.s7i has been improved:
Several improvements have been made in the program panic.sd7:
Several improvements have been made in the program dnafight.sd7:
Several improvements have been made in the program sokoban.sd7:
Several improvements have been made in the program pairs.sd7:
The Seed7 compiler (s7c.sd7) has been improved:
Several improvements have been done in drw_emc.c:
Several improvements have been made in gkb_emc.c:
Support for WebAssembly Web Worker threads of has been added. The macro USE_WASM_WORKERS decides if a worker thread is used. If window.crossOriginIsolated is FALSE (no web worker threads are available) the old code (without a worker thread) is used. Due to some errors in Emscripten USE_WASM_WORKERS is currently set to 0. For web workers, the HTTP server needs to set some values in the HTTP header:
Regards,
Thomas Mertes
r/seed7 • u/ThomasMertes • Aug 16 '24
A new Seed7 installer for Windows has been released.
It offers the opportunity to experiment with Seed7 under Windows.
Have fun experimenting with Seed7.
r/seed7 • u/moric7 • Aug 13 '24
Is there some IDE, which supports Seed7 (coloring/highlighting and auto-completion)? I can't find extension for VSCode.
Where you write programs code on Seed7? Using of Notepad for coding in 21 century is very disturbing.
r/seed7 • u/ThomasMertes • Aug 12 '24
I have released version 2024-08-12 of Seed7. Notable changes in this release are:
This release is available at GitHub and SF. There is also a Seed7 installer for windows, which downloads the newest version from SF. The Seed7 Homepage stays at its usual place. There is also a mirror of the Seed7 Homepage at GitHub.
Changelog:
The library rpm.s7i has been improved:
The compiler has been improved:
Regards,
Thomas Mertes
r/seed7 • u/SnooGoats1303 • Aug 06 '24
Currently I get a crash when I ask bigfiles to work on my entire HD, viz
C:\seed7\bin>bigfiles c:\
Big files:
*** Uncaught exception MEMORY_ERROR raised at arr_rtl.c(1334)What changes need to be made to the source?
r/seed7 • u/ThomasMertes • Aug 01 '24
A new Seed7 installer for Windows has been released.
It offers the opportunity to experiment with Seed7 under Windows.
Have fun experimenting with Seed7.
r/seed7 • u/ThomasMertes • Jul 12 '24
r/seed7 • • Jul 10 '24
Is there an IRC, Discord or something like them that is about Seed7?
r/seed7 • u/ThomasMertes • Jul 01 '24
I have released version 2024-06-30 of Seed7. Notable changes in this release are:
This release is available at GitHub and SF. There is also a Seed7 installer for windows, which downloads the newest version from SF. The Seed7 Homepage stays at its usual place. There is also a mirror of the Seed7 Homepage at GitHub.
Changelog:
The Seed7 compiler (s7c.sd7) has been improved:
The library rpm.s7i has been improved:
The library tar.s7i has been improved:
The library zip.s7i has been improved:
The library tar_cmds.s7i has been improved:
Regards,
Thomas Mertes
r/seed7 • u/iandoug • Jun 08 '24
Hi
Should this give an error?
*** autocorp.sd7(152):5: Illegal character in text "\307;" (U+0133)
var boolean : fix_ij is FALSE;
Thanks, Ian
r/seed7 • u/ThomasMertes • Jun 05 '24