Discussion:
ANN: Seed7 Release 2010-12-05
(too old to reply)
tm
2010-12-05 20:59:09 UTC
Permalink
Hello,

I have released a new version of Seed7: seed7_05_20101205.tgz

In the Seed7 programming language new statements and operators
can be declared easily. Types are first class objects and therefore
templates/generics need no special syntax. Object orientation is
used when it brings advantages and not in places when other
solutions are more obvious.

Seed7 is covered by the GPL (and LGPL for the Seed7 runtime library).

Changelog:
- The chapter explaining the file open function in the manual was
improved.
- The file open function was improved to return STD_NULL on an
attempt to open a directory.
- Interpreter and compiler were improved to support Unicode program
arguments under Windows.
- The file "chkccomp.c" was added. It is used during the make process
to determine properties of the C compiler and the C runtime
library.
- The makefiles were improved to use the new generic file
"chkccomp.c", instead of creating their own versions of
"chkccomp.c".
- The time/duration field 'mycro_second' and the functions
'getMycroSeconds', 'toMycroSeconds' and 'MYCRO_SECONDS' were
renamed to 'micro_second', 'getMicroSeconds', 'toMicroSeconds' and
'MICRO_SECONDS' respectively. This changes were done in the example
programs and in the "time.s7i" library.
- The functions 'setATime' and 'setMTime' in 'time.s7i' were improved
to raise RANGE_ERROR when the specified time is illegal or outside
the allowed range.
- The carddemo.sd7 example program was improved to allow moving,
raising and lowering cards with the mouse and mouse buttons.
- The function 'getHttp' in the "gethttp.s7i" library was improved to
handle the status codes 301, 302, 303 and 307.
- The functions 'hashCode', 'compare', 'setContent', 'toBottom' and
'toTop' were added to the "graph.s7i" library and the compiler was
improved to support them.
- Bitmap fonts were improved to allow scaling.
- The function 'skipSpaceOrTab' was added to the "scanfile.s7i"
library.
- The "chkhsh.sd7" example program was improved.
- The compiler was improved to generate code, which defines functions
for 'hsh_create' and 'hsh_destr' before they are used.
- The compiler was improved to generate code with parenthesis around
C comma operator expressions. This is necessary to allow using such
an expression as argument of a C macro.
- The handling of the action 'bst_idx' in the compiler was fixed to
use 'bstritype' instead of 'stritype'.
- The compiler was improved to use the function 'generic_sct_cpy'.
This function was introduced to allow changing an element of a
hash, when the hash has struct elements.
- The "tar7.sd7" example program was improved to check if a file
already exists.
- The function 'bst_cpy' in "bstlib.c" was fixed to use 'take_bstri'
instead of 'take_stri'.
- The function 'cmdFileType' in "cmd_rtl.c" was improved to return
FILE_ABSENT when one element in the path is not a directory.
- The "drw_x11.c" driver was improved: Expose events now draw only
the exposed area. The exposed area is not cleared before the
expose event is delivered. Expose events for the whole window are
avoided, when a window is resized.
- The function 'drwFlush' in "drw_x11.c" now proceeds until no expose
events are present.
- The function 'find_window' in "drw_x11.c" now manages the windows
with a hash table instead of linked list.
- The new function 'processEvents' in "drw_x11.c" looks for expose
events and processes them.
- Documentation comments were added to the function 'filOpen' in the
file "fil_rtl.c".
- The files "kbd_inf.c" and "kbd_poll.c" were improved to use
utf8_mode also when the LANG environment variable contains the
substring "utf8".

Greetings Thomas Mertes

--
Seed7 Homepage: http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.
aury
2010-12-10 15:03:01 UTC
Permalink
Post by tm
Hello,
I have released a new version of Seed7: seed7_05_20101205.tgz
In the Seed7 programming language new statements and operators
can be declared easily. Types are first class objects and therefore
templates/generics need no special syntax. Object orientation is
used when it brings advantages and not in places when other
solutions are more obvious.
Seed7 is covered by the GPL (and LGPL for the Seed7 runtime library).
- The chapter explaining the file open function in the manual was
improved.
- The file open function was improved to return STD_NULL on an
attempt to open a directory.
- Interpreter and compiler were improved to support Unicode program
arguments under Windows.
- The file "chkccomp.c" was added. It is used during the make process
to determine properties of the C compiler and the C runtime
library.
- The makefiles were improved to use the new generic file
"chkccomp.c", instead of creating their own versions of
"chkccomp.c".
- The time/duration field 'mycro_second' and the functions
'getMycroSeconds', 'toMycroSeconds' and 'MYCRO_SECONDS' were
renamed to 'micro_second', 'getMicroSeconds', 'toMicroSeconds' and
'MICRO_SECONDS' respectively. This changes were done in the example
programs and in the "time.s7i" library.
- The functions 'setATime' and 'setMTime' in 'time.s7i' were improved
to raise RANGE_ERROR when the specified time is illegal or outside
the allowed range.
- The carddemo.sd7 example program was improved to allow moving,
raising and lowering cards with the mouse and mouse buttons.
- The function 'getHttp' in the "gethttp.s7i" library was improved to
handle the status codes 301, 302, 303 and 307.
- The functions 'hashCode', 'compare', 'setContent', 'toBottom' and
'toTop' were added to the "graph.s7i" library and the compiler was
improved to support them.
- Bitmap fonts were improved to allow scaling.
- The function 'skipSpaceOrTab' was added to the "scanfile.s7i"
library.
- The "chkhsh.sd7" example program was improved.
- The compiler was improved to generate code, which defines functions
for 'hsh_create' and 'hsh_destr' before they are used.
- The compiler was improved to generate code with parenthesis around
C comma operator expressions. This is necessary to allow using such
an expression as argument of a C macro.
- The handling of the action 'bst_idx' in the compiler was fixed to
use 'bstritype' instead of 'stritype'.
- The compiler was improved to use the function 'generic_sct_cpy'.
This function was introduced to allow changing an element of a
hash, when the hash has struct elements.
- The "tar7.sd7" example program was improved to check if a file
already exists.
- The function 'bst_cpy' in "bstlib.c" was fixed to use 'take_bstri'
instead of 'take_stri'.
- The function 'cmdFileType' in "cmd_rtl.c" was improved to return
FILE_ABSENT when one element in the path is not a directory.
- The "drw_x11.c" driver was improved: Expose events now draw only
the exposed area. The exposed area is not cleared before the
expose event is delivered. Expose events for the whole window are
avoided, when a window is resized.
- The function 'drwFlush' in "drw_x11.c" now proceeds until no expose
events are present.
- The function 'find_window' in "drw_x11.c" now manages the windows
with a hash table instead of linked list.
- The new function 'processEvents' in "drw_x11.c" looks for expose
events and processes them.
- Documentation comments were added to the function 'filOpen' in the
file "fil_rtl.c".
- The files "kbd_inf.c" and "kbd_poll.c" were improved to use
utf8_mode also when the LANG environment variable contains the
substring "utf8".
Greetings Thomas Mertes
--
Seed7 Homepage: http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.
Hi...
I simply cannot compile seed7 under windows and i want use
him becose i like syntax and you have many greatest examples.
So why you simply dont build windows binary release ?
I also have in plan build scintilla based editor for seed7,...
all best...
Aurel
author of Aurel Basic
aury
2010-12-10 15:06:30 UTC
Permalink
Post by tm
Hello,
I have released a new version of Seed7: seed7_05_20101205.tgz
In the Seed7 programming language new statements and operators
can be declared easily. Types are first class objects and therefore
templates/generics need no special syntax. Object orientation is
used when it brings advantages and not in places when other
solutions are more obvious.
Seed7 is covered by the GPL (and LGPL for the Seed7 runtime library).
- The chapter explaining the file open function in the manual was
improved.
- The file open function was improved to return STD_NULL on an
attempt to open a directory.
- Interpreter and compiler were improved to support Unicode program
arguments under Windows.
- The file "chkccomp.c" was added. It is used during the make process
to determine properties of the C compiler and the C runtime
library.
- The makefiles were improved to use the new generic file
"chkccomp.c", instead of creating their own versions of
"chkccomp.c".
- The time/duration field 'mycro_second' and the functions
'getMycroSeconds', 'toMycroSeconds' and 'MYCRO_SECONDS' were
renamed to 'micro_second', 'getMicroSeconds', 'toMicroSeconds' and
'MICRO_SECONDS' respectively. This changes were done in the example
programs and in the "time.s7i" library.
- The functions 'setATime' and 'setMTime' in 'time.s7i' were improved
to raise RANGE_ERROR when the specified time is illegal or outside
the allowed range.
- The carddemo.sd7 example program was improved to allow moving,
raising and lowering cards with the mouse and mouse buttons.
- The function 'getHttp' in the "gethttp.s7i" library was improved to
handle the status codes 301, 302, 303 and 307.
- The functions 'hashCode', 'compare', 'setContent', 'toBottom' and
'toTop' were added to the "graph.s7i" library and the compiler was
improved to support them.
- Bitmap fonts were improved to allow scaling.
- The function 'skipSpaceOrTab' was added to the "scanfile.s7i"
library.
- The "chkhsh.sd7" example program was improved.
- The compiler was improved to generate code, which defines functions
for 'hsh_create' and 'hsh_destr' before they are used.
- The compiler was improved to generate code with parenthesis around
C comma operator expressions. This is necessary to allow using such
an expression as argument of a C macro.
- The handling of the action 'bst_idx' in the compiler was fixed to
use 'bstritype' instead of 'stritype'.
- The compiler was improved to use the function 'generic_sct_cpy'.
This function was introduced to allow changing an element of a
hash, when the hash has struct elements.
- The "tar7.sd7" example program was improved to check if a file
already exists.
- The function 'bst_cpy' in "bstlib.c" was fixed to use 'take_bstri'
instead of 'take_stri'.
- The function 'cmdFileType' in "cmd_rtl.c" was improved to return
FILE_ABSENT when one element in the path is not a directory.
- The "drw_x11.c" driver was improved: Expose events now draw only
the exposed area. The exposed area is not cleared before the
expose event is delivered. Expose events for the whole window are
avoided, when a window is resized.
- The function 'drwFlush' in "drw_x11.c" now proceeds until no expose
events are present.
- The function 'find_window' in "drw_x11.c" now manages the windows
with a hash table instead of linked list.
- The new function 'processEvents' in "drw_x11.c" looks for expose
events and processes them.
- Documentation comments were added to the function 'filOpen' in the
file "fil_rtl.c".
- The files "kbd_inf.c" and "kbd_poll.c" were improved to use
utf8_mode also when the LANG environment variable contains the
substring "utf8".
Greetings Thomas Mertes
--
Seed7 Homepage: http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.
Hi...
I simply cannot compile seed7 under windows and i want use
him becose i like syntax and you have many greatest examples.
So why you simply dont build windows binary release ?
I also have in plan build scintilla based editor for seed7,...
all best...
Aurel
author of Aurel Basic
tm
2010-12-11 14:38:31 UTC
Permalink
Post by aury
Post by tm
Hello,
I have released a new version of Seed7: seed7_05_20101205.tgz
In the Seed7 programming language new statements and operators
can be declared easily. Types are first class objects and therefore
templates/generics need no special syntax. Object orientation is
used when it brings advantages and not in places when other
solutions are more obvious.
Seed7 is covered by the GPL (and LGPL for the Seed7 runtime library).
- The chapter explaining the file open function in the manual was
improved.
- The file open function was improved to return STD_NULL on an
attempt to open a directory.
- Interpreter and compiler were improved to support Unicode program
arguments under Windows.
- The file "chkccomp.c" was added. It is used during the make process
to determine properties of the C compiler and the C runtime
library.
- The makefiles were improved to use the new generic file
"chkccomp.c", instead of creating their own versions of
"chkccomp.c".
- The time/duration field 'mycro_second' and the functions
'getMycroSeconds', 'toMycroSeconds' and 'MYCRO_SECONDS' were
renamed to 'micro_second', 'getMicroSeconds', 'toMicroSeconds' and
'MICRO_SECONDS' respectively. This changes were done in the example
programs and in the "time.s7i" library.
- The functions 'setATime' and 'setMTime' in 'time.s7i' were improved
to raise RANGE_ERROR when the specified time is illegal or outside
the allowed range.
- The carddemo.sd7 example program was improved to allow moving,
raising and lowering cards with the mouse and mouse buttons.
- The function 'getHttp' in the "gethttp.s7i" library was improved to
handle the status codes 301, 302, 303 and 307.
- The functions 'hashCode', 'compare', 'setContent', 'toBottom' and
'toTop' were added to the "graph.s7i" library and the compiler was
improved to support them.
- Bitmap fonts were improved to allow scaling.
- The function 'skipSpaceOrTab' was added to the "scanfile.s7i"
library.
- The "chkhsh.sd7" example program was improved.
- The compiler was improved to generate code, which defines functions
for 'hsh_create' and 'hsh_destr' before they are used.
- The compiler was improved to generate code with parenthesis around
C comma operator expressions. This is necessary to allow using such
an expression as argument of a C macro.
- The handling of the action 'bst_idx' in the compiler was fixed to
use 'bstritype' instead of 'stritype'.
- The compiler was improved to use the function 'generic_sct_cpy'.
This function was introduced to allow changing an element of a
hash, when the hash has struct elements.
- The "tar7.sd7" example program was improved to check if a file
already exists.
- The function 'bst_cpy' in "bstlib.c" was fixed to use 'take_bstri'
instead of 'take_stri'.
- The function 'cmdFileType' in "cmd_rtl.c" was improved to return
FILE_ABSENT when one element in the path is not a directory.
- The "drw_x11.c" driver was improved: Expose events now draw only
the exposed area. The exposed area is not cleared before the
expose event is delivered. Expose events for the whole window are
avoided, when a window is resized.
- The function 'drwFlush' in "drw_x11.c" now proceeds until no expose
events are present.
- The function 'find_window' in "drw_x11.c" now manages the windows
with a hash table instead of linked list.
- The new function 'processEvents' in "drw_x11.c" looks for expose
events and processes them.
- Documentation comments were added to the function 'filOpen' in the
file "fil_rtl.c".
- The files "kbd_inf.c" and "kbd_poll.c" were improved to use
utf8_mode also when the LANG environment variable contains the
substring "utf8".
Greetings Thomas Mertes
--
Seed7 Homepage: http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.
Hi...
I simply cannot compile seed7 under windows and i want use
him becose i like syntax and you have many greatest examples.
Please provide me with more information. Tell me why you cannot
compile Seed7 under Windows (please mark the appropriate points)?

O You have problems downloading Seed7.
O You don't know what to do with the downloaded *.tgz file.
O You have no tool to handle the downloaded *.tgz file.
O You don't have a C compiler installed.
O Your C compiler is unsupported by Seed7 (gcc, Visual C and
Borland/Embarcadero C are supported, which C compiler do
you have?).
O You refuse to use a C compiler.
O You don't have a make utility installed.
O Your make utility is unsupported by Seed7 (gmake, mingw32-make,
nmake and Borland/Embarcadero make are supported, which make
utility do you have?).
O You refuse to use a make utility.
O You have problems creating the file version.h .
O You get error messages (please let me know the messages).
O You don't want to read the file seed7/src/read_me.txt.
O You have problems understanding the file seed7/src/read_me.txt.

This poll is not a joke. People from Windows told me about a variety
of problems. I want to find out more to help building and installing
Seed7 under windows (see below).
Post by aury
So why you simply dont build windows binary release ?
This would have some drawbacks:

- It would be necessary to have interpreter executable, example
programs and include/library files all in one directory (The
place of the include/library files is hardcoded in the
interpreter) .

- Compilation of Seed7 programs could not be supported reliably
(The configuration of the Seed7 compiler is also hardcoded
in the interpreter).

I expect that a binary release could provoke other problems as
well (setting up environment variables, and stuff like that).

The good news are: I am working on an installer for Seed7 (don't
hold your breath, since it will take some time). Features for this
installer are:

- When Seed7 is already installed: Find out the version of Seed7
current installed.
- Optionally find out the newest released version of Seed7.
- Possibility to download the newest version of Seed7.
- Optionally choose a version of Seed7 stored in the installer
(this is helpful when there is no network connection).
- Replace an already installed version of Seed7 with the newest
one.
- Find out which C compilers are installed on your computer.
- Possibility to choose a C compiler.
- Optionally use gcc from MinGW stored in the installer
(this does not interfere with an installed MinGW).
- Compile with a make utility written in Seed7 (no need to install
a make utility).

Because of the "Eating your own dog food" principle the installer
will be written in Seed7. Several components already exist:

- Functions to probe the Seed7 versions (locally and from the net).
- Function to download a released package.
- The tar7 utility to unpack a *.tgz archive.
- Code to probe the available C compilers.
- A technic to store files as part of an executable.
- The make7 utility (working, but currently not released), which
is capable to process all makefiles from the Seed7 release.

Since people are used to installers with graphic interface, I will
try to do it this way. There are still many things to do, so it
will take time. So maybe you should not wait for it. Tell me about
your problems and I can probably help you to install Seed7.
Post by aury
I also have in plan build scintilla based editor for seed7,...
Great.


Greetings Thomas Mertes

--
Seed7 Homepage: http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.
aury
2010-12-12 16:11:02 UTC
Permalink
Post by tm
Post by aury
Post by tm
Hello,
I have released a new version of Seed7: seed7_05_20101205.tgz
In the Seed7 programming language new statements and operators
can be declared easily. Types are first class objects and therefore
templates/generics need no special syntax. Object orientation is
used when it brings advantages and not in places when other
solutions are more obvious.
Seed7 is covered by the GPL (and LGPL for the Seed7 runtime library).
- The chapter explaining the file open function in the manual was
improved.
- The file open function was improved to return STD_NULL on an
attempt to open a directory.
- Interpreter and compiler were improved to support Unicode program
arguments under Windows.
- The file "chkccomp.c" was added. It is used during the make process
to determine properties of the C compiler and the C runtime
library.
- The makefiles were improved to use the new generic file
"chkccomp.c", instead of creating their own versions of
"chkccomp.c".
- The time/duration field 'mycro_second' and the functions
'getMycroSeconds', 'toMycroSeconds' and 'MYCRO_SECONDS' were
renamed to 'micro_second', 'getMicroSeconds', 'toMicroSeconds' and
'MICRO_SECONDS' respectively. This changes were done in the example
programs and in the "time.s7i" library.
- The functions 'setATime' and 'setMTime' in 'time.s7i' were improved
to raise RANGE_ERROR when the specified time is illegal or outside
the allowed range.
- The carddemo.sd7 example program was improved to allow moving,
raising and lowering cards with the mouse and mouse buttons.
- The function 'getHttp' in the "gethttp.s7i" library was improved to
handle the status codes 301, 302, 303 and 307.
- The functions 'hashCode', 'compare', 'setContent', 'toBottom' and
'toTop' were added to the "graph.s7i" library and the compiler was
improved to support them.
- Bitmap fonts were improved to allow scaling.
- The function 'skipSpaceOrTab' was added to the "scanfile.s7i"
library.
- The "chkhsh.sd7" example program was improved.
- The compiler was improved to generate code, which defines functions
for 'hsh_create' and 'hsh_destr' before they are used.
- The compiler was improved to generate code with parenthesis around
C comma operator expressions. This is necessary to allow using such
an expression as argument of a C macro.
- The handling of the action 'bst_idx' in the compiler was fixed to
use 'bstritype' instead of 'stritype'.
- The compiler was improved to use the function 'generic_sct_cpy'.
This function was introduced to allow changing an element of a
hash, when the hash has struct elements.
- The "tar7.sd7" example program was improved to check if a file
already exists.
- The function 'bst_cpy' in "bstlib.c" was fixed to use 'take_bstri'
instead of 'take_stri'.
- The function 'cmdFileType' in "cmd_rtl.c" was improved to return
FILE_ABSENT when one element in the path is not a directory.
- The "drw_x11.c" driver was improved: Expose events now draw only
the exposed area. The exposed area is not cleared before the
expose event is delivered. Expose events for the whole window are
avoided, when a window is resized.
- The function 'drwFlush' in "drw_x11.c" now proceeds until no expose
events are present.
- The function 'find_window' in "drw_x11.c" now manages the windows
with a hash table instead of linked list.
- The new function 'processEvents' in "drw_x11.c" looks for expose
events and processes them.
- Documentation comments were added to the function 'filOpen' in the
file "fil_rtl.c".
- The files "kbd_inf.c" and "kbd_poll.c" were improved to use
utf8_mode also when the LANG environment variable contains the
substring "utf8".
Greetings Thomas Mertes
--
Seed7 Homepage: http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.
Hi...
I simply cannot compile seed7 under windows and i want use
him becose i like syntax and you have many greatest examples.
Please provide me with more information. Tell me why you cannot
compile Seed7 under Windows (please mark the appropriate points)?
O You have problems downloading Seed7.
O You don't know what to do with the downloaded *.tgz file.
O You have no tool to handle the downloaded *.tgz file.
O You don't have a C compiler installed.
O Your C compiler is unsupported by Seed7 (gcc, Visual C and
Borland/Embarcadero C are supported, which C compiler do
you have?).
O You refuse to use a C compiler.
O You don't have a make utility installed.
O Your make utility is unsupported by Seed7 (gmake, mingw32-make,
nmake and Borland/Embarcadero make are supported, which make
utility do you have?).
O You refuse to use a make utility.
O You have problems creating the file version.h .
O You get error messages (please let me know the messages).
O You don't want to read the file seed7/src/read_me.txt.
O You have problems understanding the file seed7/src/read_me.txt.
This poll is not a joke. People from Windows told me about a variety
of problems. I want to find out more to help building and installing
Seed7 under windows (see below).
Post by aury
So why you simply dont build windows binary release ?
- It would be necessary to have interpreter executable, example
programs and include/library files all in one directory (The
place of the include/library files is hardcoded in the
interpreter) .
- Compilation of Seed7 programs could not be supported reliably
(The configuration of the Seed7 compiler is also hardcoded
in the interpreter).
I expect that a binary release could provoke other problems as
well (setting up environment variables, and stuff like that).
The good news are: I am working on an installer for Seed7 (don't
hold your breath, since it will take some time). Features for this
- When Seed7 is already installed: Find out the version of Seed7
current installed.
- Optionally find out the newest released version of Seed7.
- Possibility to download the newest version of Seed7.
- Optionally choose a version of Seed7 stored in the installer
(this is helpful when there is no network connection).
- Replace an already installed version of Seed7 with the newest
one.
- Find out which C compilers are installed on your computer.
- Possibility to choose a C compiler.
- Optionally use gcc from MinGW stored in the installer
(this does not interfere with an installed MinGW).
- Compile with a make utility written in Seed7 (no need to install
a make utility).
Because of the "Eating your own dog food" principle the installer
- Functions to probe the Seed7 versions (locally and from the net).
- Function to download a released package.
- The tar7 utility to unpack a *.tgz archive.
- Code to probe the available C compilers.
- A technic to store files as part of an executable.
- The make7 utility (working, but currently not released), which
is capable to process all makefiles from the Seed7 release.
Since people are used to installers with graphic interface, I will
try to do it this way. There are still many things to do, so it
will take time. So maybe you should not wait for it. Tell me about
your problems and I can probably help you to install Seed7.
Post by aury
I also have in plan build scintilla based editor for seed7,...
Great.
Greetings Thomas Mertes
--
Seed7 Homepage: http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.
Thomas...
I understand that is not a joke but is not nececery to make this pool.
First i work on windowsXPsp2.
And i use MingW as many people from windows world prefere this C
compiler.
Im not a C programmer i most of my work based with Basic compilers.
I also compile many things with MingW gcc compiler and most of things
compile
fine under this compiler without to many problems.
I currently try to use CodeLite IDE +MingW.
And i simply dont understand what im need to do with this sources?
As i see one part of source files are headers,ok.
Do i need first compile this headers then compile c sourece files.
Most of IDE.s need project workspace.
So i think that you must crete project file.
Also many people use Code::Blocks IDE + MingW to.
So i have suggestion for you if is ok?
Try somehow adapt this sources that can be compiled with
CodeLite or CodeBlocks + MingW.
Why ...simply becose this IDEs are freeware.
Another thing maby is becose windows xp need win32 console app
not console(command prompt) type of application.
And people from windows are not much used on this command line
compiling( belive me...that's true)
Im just guessing.....

About downloading ,that is not problem at all.
I download latest tar and unpack them with 7zip archiver.

About installers,i dont preffer installers becose if everything work
fine as portable there is no need for installers.
I dont use installer for my ABasic interpreter and all works ok.

I think that i give you some constructive points how i see some
problems,but hey maby im wrong about some things....

by the way i see seed7 has very very good new language not to
tuff to learn,syntax is also fine for me...

all best ....
Aurel
forum:
http://aurelmm.byethost6.com/htdocs/
BartC
2010-12-12 16:44:21 UTC
Permalink
Post by aury
Post by aury
I simply cannot compile seed7 under windows and i want use
him becose i like syntax and you have many greatest examples.
About downloading ,that is not problem at all.
I download latest tar and unpack them with 7zip archiver.
With 7zip, you might end up with a directory such as C:\seed7 which contains
others such as prg and src.

Inside seed7\src, are the C sources to be compiled, and the makefiles *.mak.

For mingw, at the command prompt, navigate to this directory:

C:\> cd \seed7\src

and type:

copy mk_mingw.mak makefile

The mingw setup should contain a file mingw\bin\mingw32-make.exe (if mingw
is recent).

Still inside seed7\src, at the command prompt, use:

mingw32-make depend

Then when it's all done, type:

mingw32-make

At the end, there should be a file called hi.exe in seed7\src. To test this,
navigate to seed7\prg where all the seed7 examples are:

cd \seed7\prg

If, like me, default paths are not properly setup, copy over the hi.exe
program:

copy \seed7\src\hi.exe

Now test with an example program hello.sd7:

hi hello

Any problems, I can probably mail you the program hi.exe (about 1.8MB),
which, although probably a different version, might be compatible enough to
run some of the examples.
--
Bartc
aury
2010-12-12 17:30:08 UTC
Permalink
Post by BartC
Post by aury
Post by aury
I simply cannot compile seed7 under windows and i want use
him becose i like syntax and you have many greatest examples.
About downloading ,that is not problem at all.
I download latest tar and unpack them with 7zip archiver.
With 7zip, you might end up with a directory such as C:\seed7 which contains
others such as prg and src.
Inside seed7\src, are the C sources to be compiled, and the makefiles *.mak.
C:\> cd \seed7\src
copy mk_mingw.mak makefile
The mingw setup should contain a file mingw\bin\mingw32-make.exe (if mingw
is recent).
mingw32-make depend
mingw32-make
At the end, there should be a file called hi.exe in seed7\src. To test this,
cd \seed7\prg
If, like me, default paths are not properly setup, copy over the hi.exe
copy \seed7\src\hi.exe
hi hello
Any problems, I can probably mail you the program hi.exe (about 1.8MB),
which, although probably a different version, might be compatible enough to
run some of the examples.
--
Bartc
OK Bart ...
I see now what i do wrong
and i will try way you suggest me.
if is no problem just mail me exe.

Aurel
BartC
2010-12-12 18:27:28 UTC
Permalink
Post by BartC
Any problems, I can probably mail you the program hi.exe (about 1.8MB),
Post by BartC
which, although probably a different version, might be compatible enough to
run some of the examples.
OK Bart ...
I see now what i do wrong
and i will try way you suggest me.
if is no problem just mail me exe.
Done. It's zipped to about a 600KB file, and sent to your gmail address.
--
Bartc
tm
2010-12-12 19:44:04 UTC
Permalink
Post by BartC
Post by aury
Post by aury
I simply cannot compile seed7 under windows and i want use
him becose i like syntax and you have many greatest examples.
About downloading ,that is not problem at all.
I download latest tar and unpack them with 7zip archiver.
With 7zip, you might end up with a directory such as C:\seed7 which contains
others such as prg and src.
Inside seed7\src, are the C sources to be compiled, and the makefiles *.mak.
C:\> cd \seed7\src
copy mk_mingw.mak makefile
The mingw setup should contain a file mingw\bin\mingw32-make.exe (if mingw
is recent).
mingw32-make depend
mingw32-make
At the end, there should be a file called hi.exe in seed7\src.
Thank you for writing this explanation. I should have done it, but
I was too busy proposing my installer ideas. BTW.: The next version
(2010-12-19) will introduce a seed7/bin directory, intended for
executables and runtime libraries. In the release it will be empty
but the make process will put the interpreter and the Seed7 runtime
libraries into it. In the optimal case it will be sufficient to add
the seed7/bin directory to the PATH.
Post by BartC
To test this,
cd \seed7\prg
If, like me, default paths are not properly setup, copy over the hi.exe
copy \seed7\src\hi.exe
The command mingw32-make does not change the path, so copiing over
hi.exe is necessary (but it should happen automatically). What
amazes me is that mingw-32-make should execute the command:

copy hi.exe ..\prg /Y

so that copiing over hi.exe manually should not be necessary. I
don't know what went wrong that you need to copy hi.exe .
Maybe you know and can tell me.
Post by BartC
hi hello
Any problems, I can probably mail you the program hi.exe (about 1.8MB),
which, although probably a different version, might be compatible enough to
run some of the examples.
Cross your fingers :-)

BTW.: Do you still have problems with the Seed7 compiler?
Is it still necessary to call the C compiler with a batch file?


Greetings Thomas Mertes

--
Seed7 Homepage: http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.
BartC
2010-12-12 21:43:00 UTC
Permalink
Post by tm
Post by BartC
If, like me, default paths are not properly setup, copy over the hi.exe
copy \seed7\src\hi.exe
The command mingw32-make does not change the path, so copiing over
hi.exe is necessary (but it should happen automatically). What
copy hi.exe ..\prg /Y
so that copiing over hi.exe manually should not be necessary. I
don't know what went wrong that you need to copy hi.exe .
Maybe you know and can tell me.
Just tried it again. The make program is run from the src directory, and
that is where hi.exe ends up.

BTW the read_me.txt file suggests the make executable is called make.exe or
nmake.exe or gmake.exe. Actually it seems to be mingw32-make.exe for mingw.
Post by tm
BTW.: Do you still have problems with the Seed7 compiler?
Is it still necessary to call the C compiler with a batch file?
I haven't changed anything so I guess there are still the same problems.
--
Bartc
tm
2010-12-12 23:06:50 UTC
Permalink
Post by BartC
Post by tm
Post by BartC
If, like me, default paths are not properly setup, copy over the hi.exe
 copy \seed7\src\hi.exe
The command mingw32-make does not change the path, so copiing over
hi.exe is necessary (but it should happen automatically). What
 copy hi.exe ..\prg /Y
so that copiing over hi.exe manually should not be necessary. I
don't know what went wrong that you need to copy hi.exe .
Maybe you know and can tell me.
Just tried it again. The make program is run from the src directory, and
that is where hi.exe ends up.
Okay. BTW.: To start a compile from scratch you should use
the command:

mingw32-make clean

before doing:

mingw32-make depend
mingw32-make

With

mingw32-make clean

the remains of previous (possibly failed) attempts to
compile Seed7 are removed, so you get a clean restart.
Post by BartC
BTW the read_me.txt file suggests the make executable is called make.exe or
nmake.exe or gmake.exe. Actually it seems to be mingw32-make.exe for mingw.
I realized this also and therefore I changed the file
seed7/src/read_me.txt in the version 2010-12-05 accordingly.
Post by BartC
Post by tm
BTW.: Do you still have problems with the Seed7 compiler?
Is it still necessary to call the C compiler with a batch file?
I haven't changed anything so I guess there are still the same problems.
Can it be that you are using an older release. I have changed
a lot of things in the makefiles in release 2010-12-05.
Can you please download the newest version and try to
compile it.

Thank you in advance for your effort.


Greetings Thomas Mertes

--
Seed7 Homepage: http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.
aury
2010-12-13 18:03:35 UTC
Permalink
Post by tm
Post by BartC
Post by tm
Post by BartC
If, like me, default paths are not properly setup, copy over the hi.exe
copy \seed7\src\hi.exe
The command mingw32-make does not change the path, so copiing over
hi.exe is necessary (but it should happen automatically). What
copy hi.exe ..\prg /Y
so that copiing over hi.exe manually should not be necessary. I
don't know what went wrong that you need to copy hi.exe .
Maybe you know and can tell me.
Just tried it again. The make program is run from the src directory, and
that is where hi.exe ends up.
Okay. BTW.: To start a compile from scratch you should use
mingw32-make clean
mingw32-make depend
mingw32-make
With
mingw32-make clean
the remains of previous (possibly failed) attempts to
compile Seed7 are removed, so you get a clean restart.
Post by BartC
BTW the read_me.txt file suggests the make executable is called make.exe or
nmake.exe or gmake.exe. Actually it seems to be mingw32-make.exe for mingw.
I realized this also and therefore I changed the file
seed7/src/read_me.txt in the version 2010-12-05 accordingly.
Post by BartC
Post by tm
BTW.: Do you still have problems with the Seed7 compiler?
Is it still necessary to call the C compiler with a batch file?
I haven't changed anything so I guess there are still the same problems.
Can it be that you are using an older release. I have changed
a lot of things in the makefiles in release 2010-12-05.
Can you please download the newest version and try to
compile it.
Thank you in advance for your effort.
Greetings Thomas Mertes
--
Seed7 Homepage: http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.
Bart...
I still dont recive mail from you with attached zip file?
***@gmail.com
tm
2010-12-13 20:35:28 UTC
Permalink
Post by aury
Post by tm
Post by BartC
Post by tm
Post by BartC
If, like me, default paths are not properly setup, copy over the hi.exe
 copy \seed7\src\hi.exe
The command mingw32-make does not change the path, so copiing over
hi.exe is necessary (but it should happen automatically). What
 copy hi.exe ..\prg /Y
so that copiing over hi.exe manually should not be necessary. I
don't know what went wrong that you need to copy hi.exe .
Maybe you know and can tell me.
Just tried it again. The make program is run from the src directory, and
that is where hi.exe ends up.
Okay. BTW.: To start a compile from scratch you should use
  mingw32-make clean
  mingw32-make depend
  mingw32-make
With
  mingw32-make clean
the remains of previous (possibly failed) attempts to
compile Seed7 are removed, so you get a clean restart.
Post by BartC
BTW the read_me.txt file suggests the make executable is called make.exe or
nmake.exe or gmake.exe. Actually it seems to be mingw32-make.exe for mingw.
I realized this also and therefore I changed the file
seed7/src/read_me.txt in the version 2010-12-05 accordingly.
Post by BartC
Post by tm
BTW.: Do you still have problems with the Seed7 compiler?
Is it still necessary to call the C compiler with a batch file?
I haven't changed anything so I guess there are still the same problems.
Can it be that you are using an older release. I have changed
a lot of things in the makefiles in release 2010-12-05.
Can you please download the newest version and try to
compile it.
Thank you in advance for your effort.
Greetings Thomas Mertes
--
Seed7 Homepage:  http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.
Bart...
I still dont recive mail from you with attached zip file?
I want to point out that the interpreter executable (hi.exe)
must be from the same release as the Seed7 include (library)
files (extension *.s7i). Otherwise the interpreter might
have problems. That's a good reason to compile the interpreter
yourself. :-)

To compile Seed7 you just need gcc (from MinGW) and
mingw32-make.exe. Can you please check if they are
present?

What happens when you start a console window and type in:

gcc --version

If you have MinGW installed it should write the version of the
gcc compiler. On my windows XP machine I get:

gcc (GCC) 4.5.0

The version of mingw32-make can be obtained with:

mingw32-make --version

On my windows XP machine it writes:

GNU Make 3.82

When you don't have mingw32-make installed, it is easy to
get it. A download for mingw32-make.exe can be found at:

http://sourceforge.net/projects/mingw/files/MinGW/make/make-3.82-mingw32/

The newest version is currently:

make-3.82-4-mingw32-bin.tar.lzma

7-Zip should be able to unpack this .lzma archive. The
archive contains a bin directory and inside the bin
directory is the file

mingw32-make.exe

When your MinGW is installed in the directory C:\MinGW
you can copy the file mingw32-make.exe to the directory

C:\MinGW\bin

Afterwards mingw32-make should be useable.


Greetings Thomas Mertes

--
Seed7 Homepage: http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.
BartC
2010-12-13 21:27:34 UTC
Permalink
Post by aury
Bart...
I still dont recive mail from you with attached zip file?
It was sent yesterday to ***@gmail.com (typed by hand but looks
right), with subject HI.ZIP.

I've just sent it again, from two different accounts.

If there are still problems, I'll try and put it on a website, if I can get
my FTP program working again, and can remember the login codes. Actually,
perhaps best to see if the mailing works...

BTW which newsgroup are you reading this from? It's probably not necessary
to cross-post.
--
Bartc
aury
2010-12-14 11:03:46 UTC
Permalink
Post by BartC
Post by aury
Bart...
I still dont recive mail from you with attached zip file?
right), with subject HI.ZIP.
I've just sent it again, from two different accounts.
If there are still problems, I'll try and put it on a website, if I can get
my FTP program working again, and can remember the login codes. Actually,
perhaps best to see if the mailing works...
BTW which newsgroup are you reading this from? It's probably not necessary
to cross-post.
--
Bartc
Again nothing...
Why this heapend i dont know...
by the way you can go to my cms site:
http://aurelbasicsoft.ucoz.com
and create account then upload
attachment on forum.
I alowed attachment up to 2MB.
If is no problem...

all best
Aurel
BartC
2010-12-14 13:19:48 UTC
Permalink
Post by BartC
Post by aury
Bart...
I still dont recive mail from you with attached zip file?
right), with subject HI.ZIP.
I've just sent it again, from two different accounts.
If there are still problems, I'll try and put it on a website, if I can get
my FTP program working again, and can remember the login codes.
Actually,
perhaps best to see if the mailing works...
BTW which newsgroup are you reading this from? It's probably not necessary
to cross-post.
OK, try this:

http://www.bartc.pwp.blueyonder.co.uk/hi.exe

With luck, you will get the option of running or saving the file. Choose
Save.

(Technically, I probably need permission to redistribute this file, so this
will only be there temporarily.)
--
Bartc
tm
2010-12-14 17:43:45 UTC
Permalink
Post by BartC
Post by BartC
Post by aury
Bart...
I still dont recive mail from you with attached zip file?
right), with subject HI.ZIP.
I've just sent it again, from two different accounts.
If there are still problems, I'll try and put it on a website, if I can get
my FTP program working again, and can remember the login codes.
Actually,
perhaps best to see if the mailing works...
BTW which newsgroup are you reading this from? It's probably not necessary
to cross-post.
http://www.bartc.pwp.blueyonder.co.uk/hi.exe
With luck, you will get the option of running or saving the file. Choose
Save.
(Technically, I probably need permission to redistribute this file, so this
will only be there temporarily.)
You have every right to redistribute hi.exe. Seed7 is licensed under
the GPL, so you have this right automatically and nobody (not even
I, Thomas Mertes) can take it away. The source of a GPL program
needs to be available, but this is fulfilled since the source is
available at seed7.sourceforge.net . The GPL license can be found in
the file seed7/COPYING.

I just downloaded your hi.exe to look at it.

Your hi.exe has the version 4.5.6149 which means that you probably
created it from the Seed7 release 2010-09-19. This hi.exe will not
work with the Seed7 library from the newest release (2010-12-05).

SEED7 INTERPRETER AND SEED7 LIBRARIES OF A RELEASE ARE TWINS,
WHICH SHOULD NOT BE SEPARATED.

Using an hi.exe with the wrong Seed7 libraries can cause errors.

E.g.: In a recent version I introduced the possibility to append
an element to an array with the operator &:=
When this &:= operator is defined in seed7_05.s7i and the
interpreter does not support it, you get an error message.

The Seed7 language is NOT defined in the interpreter. Instead Seed7
is defined in the Seed7 libraries (the *.s7i files in the seed7/lib
directory). The interpreter is tailored to support the Seed7
libraries. With a different library the hi interpreter can also
execute a different language...

I also found the reason why you have problems with the Seed7
compiler. :-) Can it be that you took some commands from the
makefile and executed them from the command prompt instead?
Variables which are available in a makefile are unknown outside.
In a makefile the sequence $(CC) is replaced by the name of the
C compiler. In a command window $(CC) is unknown, so it stays
as is. So the string $(CC) (and other such strings) are written
to the file version.h . No wonder that the Seed7 compiler thinks
that your C compiler has the name $(CC). :-)


Greetings Thomas Mertes

--
Seed7 Homepage: http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.
aury
2010-12-14 18:14:56 UTC
Permalink
Post by BartC
Post by BartC
Post by aury
Bart...
I still dont recive mail from you with attached zip file?
right), with subject HI.ZIP.
I've just sent it again, from two different accounts.
If there are still problems, I'll try and put it on a website, if I can get
my FTP program working again, and can remember the login codes.
Actually,
perhaps best to see if the mailing works...
BTW which newsgroup are you reading this from? It's probably not necessary
to cross-post.
http://www.bartc.pwp.blueyonder.co.uk/hi.exe
With luck, you will get the option of running or saving the file. Choose
Save.
(Technically, I probably need permission to redistribute this file, so this
will only be there temporarily.)
--
Bartc
WOW....
Finaly ...thank you Bart !!!!
Ive download hi.exe with Internet Explorer with Download Menager
and download work on this way.

Then i try as i say before use my modifyed scintilla editor and
hi. interpreter constantly show me whole bunch of errors.
i use command line in ordinary way like this:
SYSTEM Getstartpath+"hi.exe",filename

But i hold hi.exe on D disk.
So i decide copy folder prg and folder lib to disk C.
I create new folder on disk C called seed7 and put this two folders
inside
folder seed7.
So folder seed7 on C disk is
C:\seed7
C:\seed7\prg
C\seed7\lib

Another thing i place my editor called AEditSeed7.exe inside
folder prg and also add scilexer.dll
toolbar.bmp and
AEditSeed7.manifest file

And voila it works----COOL...
and work very fast.
I will test all examples and put screenshots on
my ucoz site.

all best..
Aurel
tm
2010-12-14 19:49:47 UTC
Permalink
Post by aury
Post by BartC
Post by BartC
Post by aury
Bart...
I still dont recive mail from you with attached zip file?
right), with subject HI.ZIP.
I've just sent it again, from two different accounts.
If there are still problems, I'll try and put it on a website, if I can get
my FTP program working again, and can remember the login codes.
Actually,
perhaps best to see if the mailing works...
BTW which newsgroup are you reading this from? It's probably not necessary
to cross-post.
http://www.bartc.pwp.blueyonder.co.uk/hi.exe
With luck, you will get the option of running or saving the file. Choose
Save.
(Technically, I probably need permission to redistribute this file, so this
will only be there temporarily.)
--
Bartc
WOW....
Finaly ...thank you Bart !!!!
Ive download hi.exe with Internet Explorer with Download Menager
and download work on this way.
Then i try as i say before use my modifyed scintilla editor and
hi. interpreter constantly show me whole bunch of errors.
SYSTEM Getstartpath+"hi.exe",filename
But i hold hi.exe on D disk.
So i decide copy folder prg and folder lib to disk C.
I create new folder on disk C called seed7 and put this two folders
inside
folder seed7.
So folder seed7 on C disk is
C:\seed7
C:\seed7\prg
C\seed7\lib
Another thing i place my editor called AEditSeed7.exe inside
folder prg and also add scilexer.dll
toolbar.bmp  and
AEditSeed7.manifest file
And voila it works----COOL...
and work very fast.
I will test all examples and put screenshots on
my ucoz site.
Great!
What is the url of the ucoz site.

Have you read my doubts concerning the version of
hi.exe vs. the version of the Seed7 library?

Which version of Seed7 did you download?


Greetings Thomas Mertes

--
Seed7 Homepage: http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.
aurelVZ
2010-12-14 21:59:37 UTC
Permalink
Post by tm
Post by aury
Post by BartC
Post by BartC
Post by aury
Bart...
I still dont recive mail from you with attached zip file?
right), with subject HI.ZIP.
I've just sent it again, from two different accounts.
If there are still problems, I'll try and put it on a website, if I can get
my FTP program working again, and can remember the login codes.
Actually,
perhaps best to see if the mailing works...
BTW which newsgroup are you reading this from? It's probably not necessary
to cross-post.
http://www.bartc.pwp.blueyonder.co.uk/hi.exe
With luck, you will get the option of running or saving the file. Choose
Save.
(Technically, I probably need permission to redistribute this file, so this
will only be there temporarily.)
--
Bartc
WOW....
Finaly ...thank you Bart !!!!
Ive download hi.exe with Internet Explorer with Download Menager
and download work on this way.
Then i try as i say before use my modifyed scintilla editor and
hi. interpreter constantly show me whole bunch of errors.
SYSTEM Getstartpath+"hi.exe",filename
But i hold hi.exe on D disk.
So i decide copy folder prg and folder lib to disk C.
I create new folder on disk C called seed7 and put this two folders
inside
folder seed7.
So folder seed7 on C disk is
C:\seed7
C:\seed7\prg
C\seed7\lib
Another thing i place my editor called AEditSeed7.exe inside
folder prg and also add scilexer.dll
toolbar.bmp  and
AEditSeed7.manifest file
And voila it works----COOL...
and work very fast.
I will test all examples and put screenshots on
my ucoz site.
Great!
What is the url of the ucoz site.
Have you read my doubts concerning the version of
hi.exe vs. the version of the Seed7 library?
Which version of Seed7 did you download?
Greetings Thomas Mertes
--
Seed7 Homepage:  http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.- Sakrij citirani tekst -
- Prikaži citirani tekst -
Thomas...
I read of course everything what you saying but(BIG BUT...)
I understand that lib version must be same as version of produced
hi.exe.
Weird thing heapend,,,
I use Bart-s hi.exe with latest release from sourcefoge download
page.
I know that is not proper but still some examples work with my editor.
After few times i try examples hi.exe simple dont respond why that's
heapend i really dont
understand(sometimes work sometims not)
Examples are great...(for example Lander game).
i still cannot compile interpreter by myself,i try from command prompt
but without succes.
So i will upload my editor to ucoz site and i will post you link that
you can download editor and try.
maby you can figured why dont work.
As i say again,first time when i try examples with Bart hi.exe some
examples work.
But then after few minutes i try again and nothing work(whole bunch of
errors...) very weird.
aurelVZ
2010-12-14 22:45:27 UTC
Permalink
Post by aury
Post by tm
Post by aury
Post by BartC
Post by BartC
Post by aury
Bart...
I still dont recive mail from you with attached zip file?
right), with subject HI.ZIP.
I've just sent it again, from two different accounts.
If there are still problems, I'll try and put it on a website, if I can
get
my FTP program working again, and can remember the login codes.
Actually,
perhaps best to see if the mailing works...
BTW which newsgroup are you reading this from? It's probably not
necessary
to cross-post.
http://www.bartc.pwp.blueyonder.co.uk/hi.exe
With luck, you will get the option of running or saving the file. Choose
Save.
(Technically, I probably need permission to redistribute this file, so this
will only be there temporarily.)
--
Bartc
WOW....
Finaly ...thank you Bart !!!!
Ive download hi.exe with Internet Explorer with Download Menager
and download work on this way.
Then i try as i say before use my modifyed scintilla editor and
hi. interpreter constantly show me whole bunch of errors.
SYSTEM Getstartpath+"hi.exe",filename
But i hold hi.exe on D disk.
So i decide copy folder prg and folder lib to disk C.
I create new folder on disk C called seed7 and put this two folders
inside
folder seed7.
So folder seed7 on C disk is
C:\seed7
C:\seed7\prg
C\seed7\lib
Another thing i place my editor called AEditSeed7.exe inside
folder prg and also add scilexer.dll
toolbar.bmp  and
AEditSeed7.manifest file
And voila it works----COOL...
and work very fast.
I will test all examples and put screenshots on
my ucoz site.
Great!
What is the url of the ucoz site.
Have you read my doubts concerning the version of
hi.exe vs. the version of the Seed7 library?
Which version of Seed7 did you download?
Greetings Thomas Mertes
--
Seed7 Homepage:  http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.- Sakrij citirani tekst -
- Prikaži citirani tekst -
Thomas...
I read of course everything what you saying but(BIG BUT...)
I understand that lib version must be same as version of produced
hi.exe.
Weird thing heapend,,,
I  use Bart-s hi.exe with latest release from sourcefoge download
page.
I know that is not proper but still some examples work with my editor.
After few times i try examples hi.exe simple dont respond why that's
heapend i really dont
understand(sometimes work sometims not)
Examples are great...(for example Lander game).
i still cannot compile interpreter by myself,i try from command prompt
but without succes.
So i will upload my editor to ucoz site and i will post you link that
you can download editor and try.
maby you can figured why dont work.
As i say again,first time when i try examples with Bart hi.exe some
examples work.
But then after few minutes i try again and nothing work(whole bunch of
errors...) very weird.- Sakrij citirani tekst -
- Prikaži citirani tekst -
OK here is link from where you can download editor and try:
http://aurelbasicsoft.ucoz.com/AEdSeed7.zip
Leo Davidson
2010-12-15 01:28:06 UTC
Permalink
It's really exciting that the four people who give a damn about Seed7
have found each other but could you maybe take this conversation
elsewhere and stop spamming hundreds of people with an unwanted play-
by-play account of getting it to compile?

Good morning.
aury
2010-12-15 11:56:45 UTC
Permalink
Post by Leo Davidson
It's really exciting that the four people who give a damn about Seed7
have found each other but could you maybe take this conversation
elsewhere and stop spamming hundreds of people with an unwanted play-
by-play account of getting it to compile?
Good morning.
Kenny McCormack
2010-12-15 12:37:36 UTC
Permalink
Post by Leo Davidson
It's really exciting that the four people who give a damn about Seed7
have found each other but could you maybe take this conversation
elsewhere and stop spamming hundreds of people with an unwanted play-
by-play account of getting it to compile?
Good morning.
Good afternoon!!
--
Religion is regarded by the common people as true,
by the wise as foolish,
and by the rulers as useful.

(Seneca the Younger, 65 AD)
aury
2010-12-15 12:01:33 UTC
Permalink
Post by Leo Davidson
It's really exciting that the four people who give a damn about Seed7
have found each other but could you maybe take this conversation
elsewhere and stop spamming hundreds of people with an unwanted play-
by-play account of getting it to compile?
Good morning.
Good morning to you...
Unfortunatly you are right...but hey this depend on author of seed7.
I really dont understand why he as expirienced C programmer dont build
stable windows binary? then we as amateurs must do this.

For examle concept of my interpreter is not based on any external
library there is only
one source code,nothing else.
But concept of seed7 is extendable on this way and remind me on Dlib.
tm
2010-12-15 14:02:40 UTC
Permalink
Post by aury
...but hey this depend on author of seed7.
I really dont understand why he as expirienced C programmer dont build
stable windows binary?
Please trust me, releasing the hi.exe executable alone
will not work. This is not something special to Seed7.
Combining an older C compiler with newer header files
or runtime libraries will also fail to work.
Post by aury
then we as amateurs must do this.
There are many amateurs who are able to type in commands
into a console. And it is not rocket science when an
"amateur" tells me what happened when he typed in that
command. That you "tried it without success" contains
almost no usable information. It does not give me any
opportunity to help you to succeed.

It would be really nice to get more detailed information
(e.g.: The error messages you got. Even "Command not found"
contains information when you tell me which command it
was). This way I can find out if the problems are related
to MinGW, gcc, mingw32-make or something else. The
Mac OS X 64-bit version of Seed7 was debugged this way.
I told "Mensanator" what commands he should try and he
provided me with the error messages he got. We even
used GDB although he did not know GDB and I am not a
GDB expert...

Please be patient, I am thinking over a solution for you,
but it will probably take a few days.


Greetings Thomas Mertes

--
Seed7 Homepage: http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.
tm
2010-12-15 16:25:40 UTC
Permalink
Post by tm
Post by aury
...but hey this depend on author of seed7.
I really dont understand why he as expirienced C programmer dont build
stable windows binary?
Please be patient, I am thinking over a solution for you,
but it will probably take a few days.
Time to wait is over now... :-)
I just released the trial windows version seed7_05_20101215_win.tgz
which can be downloaded here:

http://sourceforge.net/projects/seed7/files/bin/

The seed7_05_20101215_win.tgz archive contains the directory seed7
with several subdirectories and files.

The archive can be expanded to any place (E.g. to C:\seed7), but the
files in the seed7 directory should NOT be moved to arbitary places.

To start Seed7 programs you need a command window. Just go to the
directory seed7/prg (E.g.: cd C:\seed7\prg) and type

hi hello

or the name of any other Seed7 program. Of special interest is the
program chk_all.exe:

hi chk_all

This checks the interpreter and the compiler. If both work correct
the output should be:

HI INTERPRETER Version 4.5.6702 Copyright (c) 1990-2010 Thomas Mertes
262 ../lib/syntax.s7i
3658 ../lib/seed7_05.s7i
130 ../lib/utf8.s7i
131 ../lib/shell.s7i
294 chk_all.sd7
4475 lines total
223750 lines per second
2118778 bytes
compiling the compiler - okay
chkint - okay
chkstr - okay
chkprc - okay
chkbig - okay
chkbool - okay
chkset - okay
chkexc - okay


Greetings Thomas Mertes

--
Seed7 Homepage: http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.
maxTri
2010-12-15 23:45:53 UTC
Permalink
Post by tm
Post by tm
Post by aury
...but hey this depend on author of seed7.
I really dont understand why he as expirienced C programmer dont build
stable windows binary?
Please be patient, I am thinking over a solution for you,
but it will probably take a few days.
Time to wait is over now... :-)
I just released the trial windows version seed7_05_20101215_win.tgz
http://sourceforge.net/projects/seed7/files/bin/
Thank you very much.
You do some great work, keep on with it.

Max
aury
2010-12-16 16:50:37 UTC
Permalink
Post by maxTri
Post by tm
Post by tm
Post by aury
...but hey this depend on author of seed7.
I really dont understand why he as expirienced C programmer dont build
stable windows binary?
Please be patient, I am thinking over a solution for you,
but it will probably take a few days.
Time to wait is over now... :-)
I just released the trial windows version seed7_05_20101215_win.tgz
http://sourceforge.net/projects/seed7/files/bin/
Thank you very much.
You do some great work, keep on with it.
Max
This SourceForge links really piest me off becose download link dont
work for
me ,weird becose i have account....grrrrrr.
As i say please put this somwhere else.
And as i say before create forum for seed7...
aury
2010-12-16 18:28:20 UTC
Permalink
Post by aury
Post by maxTri
Post by tm
Post by tm
Post by aury
...but hey this depend on author of seed7.
I really dont understand why he as expirienced C programmer dont build
stable windows binary?
Please be patient, I am thinking over a solution for you,
but it will probably take a few days.
Time to wait is over now... :-)
I just released the trial windows version seed7_05_20101215_win.tgz
http://sourceforge.net/projects/seed7/files/bin/
Thank you very much.
You do some great work, keep on with it.
Max
This SourceForge links really piest me off becose download link dont
work for
me ,weird becose i have account....grrrrrr.
As i say please put this somwhere else.
And as i say before create forum for seed7...
Uff i finaly download ...
OK i will see how work...
Thanks ....
aury
2010-12-17 10:16:11 UTC
Permalink
Post by aury
Post by aury
Post by maxTri
Post by tm
Post by tm
Post by aury
...but hey this depend on author of seed7.
I really dont understand why he as expirienced C programmer dont build
stable windows binary?
Please be patient, I am thinking over a solution for you,
but it will probably take a few days.
Time to wait is over now... :-)
I just released the trial windows version seed7_05_20101215_win.tgz
http://sourceforge.net/projects/seed7/files/bin/
Thank you very much.
You do some great work, keep on with it.
Max
This SourceForge links really piest me off becose download link dont
work for
me ,weird becose i have account....grrrrrr.
As i say please put this somwhere else.
And as i say before create forum for seed7...
Uff i finaly download ...
OK i will see how work...
Thanks ....
Thomas it is not stable...
When i use seed7 with my scintilla editor i discover this:
Open exemple work fine.
Run example work fine first time.
Then i just made small change in example almost nothing.
Editor as i say have autosave which means that when user change
something in
code before run file is autosaved.
Then after that this same example dont run(simply dont respond).
Belive i try all examples.
So something is very wrong.
I use same editor with same autosave function in many other
interpreters
and compilers and work fine but with seed7 this is not a case?
i hope you can figured what is wrong..
by the way do you try editor?
tm
2010-12-17 10:51:08 UTC
Permalink
Post by aury
Post by aury
Post by aury
Post by maxTri
Post by tm
Post by tm
Post by aury
...but hey this depend on author of seed7.
I really dont understand why he as expirienced C programmer dont build
stable windows binary?
Please be patient, I am thinking over a solution for you,
but it will probably take a few days.
Time to wait is over now... :-)
I just released the trial windows version seed7_05_20101215_win.tgz
http://sourceforge.net/projects/seed7/files/bin/
Thank you very much.
You do some great work, keep on with it.
Max
This SourceForge links really piest me off becose download link dont
work for
me ,weird becose i have account....grrrrrr.
As i say please put this somwhere else.
And as i say before create forum for seed7...
Uff i finaly download ...
OK i will see how work...
Thanks ....
Thomas it is not stable...
Open exemple work fine.
Run example work fine first time.
Then i just made small change in example almost nothing.
Editor as i say have autosave which means that when user change
something in
code before run file is autosaved.
Then after that this same example dont run(simply dont respond).
See also my answer in the other thread.
Essentially you should try to verify that Seed7 works correctly,
before
you use your editor. The progam chk_all.sd7 should be started in a
console with

hi chk_all

This program should write (after some interpreter info):

compiling the compiler - okay
chkint - okay
chkstr - okay
chkprc - okay
chkbig - okay
chkbool - okay
chkset - okay
chkexc - okay

The chk_all.sd7 program interpretes all chk... programs and verifies
that the output is correct. It also compiles all chk... programs (with
the
interpreted Seed7 compiler), executes the generated executables and
verifies this output also for correctnes. Additionally the chk...
programs
are compiled with the compiled Seed7 compiler and the generated C
programs are compared to the ones generated by the interpreted
Seed7 compiler. So the chk_all.sd7 program checks really a lot.

Before you use your own editor you should use some simple
editor like Notepad or Wordpad (maybe Notepad has problems with
line endings so Wordpad may be better). Start Wordpad form the
explorer, but start the Seed7 interpreter and compiler from a
command window. This way you can better see the error messages.

Such steps should help you to find the place where something
wents wrong.

The binary release of Seed7 uses relative paths for finding the
include (*.s7i) files. The Seed7 compiler of the binary release also
uses
relative paths. This was done to avoid an installation which changes
the PATH variable or the registry. Because of the relative paths you
need to be in the seed7\prg directory when you call the interpreter or
compiler.

I hope this information helps you.


Greetings Thomas Mertes

--
Seed7 Homepage: http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.
aury
2010-12-17 13:24:28 UTC
Permalink
Post by tm
Post by aury
Post by aury
Post by aury
Post by maxTri
Post by tm
Post by tm
Post by aury
...but hey this depend on author of seed7.
I really dont understand why he as expirienced C programmer dont build
stable windows binary?
Please be patient, I am thinking over a solution for you,
but it will probably take a few days.
Time to wait is over now... :-)
I just released the trial windows version seed7_05_20101215_win.tgz
http://sourceforge.net/projects/seed7/files/bin/
Thank you very much.
You do some great work, keep on with it.
Max
This SourceForge links really piest me off becose download link dont
work for
me ,weird becose i have account....grrrrrr.
As i say please put this somwhere else.
And as i say before create forum for seed7...
Uff i finaly download ...
OK i will see how work...
Thanks ....
Thomas it is not stable...
Open exemple work fine.
Run example work fine first time.
Then i just made small change in example almost nothing.
Editor as i say have autosave which means that when user change
something in
code before run file is autosaved.
Then after that this same example dont run(simply dont respond).
See also my answer in the other thread.
Essentially you should try to verify that Seed7 works correctly,
before
you use your editor. The progam chk_all.sd7 should be started in a
console with
hi chk_all
compiling the compiler - okay
chkint - okay
chkstr - okay
chkprc - okay
chkbig - okay
chkbool - okay
chkset - okay
chkexc - okay
The chk_all.sd7 program interpretes all chk... programs and verifies
that the output is correct. It also compiles all chk... programs (with
the
interpreted Seed7 compiler), executes the generated executables and
verifies this output also for correctnes. Additionally the chk...
programs
are compiled with the compiled Seed7 compiler and the generated C
programs are compared to the ones generated by the interpreted
Seed7 compiler. So the chk_all.sd7 program checks really a lot.
Before you use your own editor you should use some simple
editor like Notepad or Wordpad (maybe Notepad has problems with
line endings so Wordpad may be better). Start Wordpad form the
explorer, but start the Seed7 interpreter and compiler from a
command window. This way you can better see the error messages.
Such steps should help you to find the place where something
wents wrong.
The binary release of Seed7 uses relative paths for finding the
include (*.s7i) files. The Seed7 compiler of the binary release also
uses
relative paths. This was done to avoid an installation which changes
the PATH variable or the registry. Because of the relative paths you
need to be in the seed7\prg directory when you call the interpreter or
compiler.
I hope this information helps you.
Greetings Thomas Mertes
--
Seed7 Homepage: http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.
I test ,run succesfuly chk_all.sd7 and all works perfect first time.
But again second time just dont respond.
I simply think that seed7 is not optimized for windows.
I will back to work on my own intrpreter.
dont get me wrong but im simply lost energy....
tm
2010-12-17 13:33:46 UTC
Permalink
Post by aury
Post by tm
Post by aury
Post by aury
Post by aury
Post by maxTri
Post by tm
Post by tm
Post by aury
...but hey this depend on author of seed7.
I really dont understand why he as expirienced C programmer dont build
stable windows binary?
Please be patient, I am thinking over a solution for you,
but it will probably take a few days.
Time to wait is over now... :-)
I just released the trial windows version seed7_05_20101215_win.tgz
http://sourceforge.net/projects/seed7/files/bin/
Thank you very much.
You do some great work, keep on with it.
Max
This SourceForge links really piest me off becose download link dont
work for
me ,weird becose i have account....grrrrrr.
As i say please put this somwhere else.
And as i say before create forum for seed7...
Uff i finaly download ...
OK i will see how work...
Thanks ....
Thomas it is not stable...
Open exemple work fine.
Run example work fine first time.
Then i just made small change in example almost nothing.
Editor as i say have autosave which means that when user change
something in
code before run file is autosaved.
Then after that this same example dont run(simply dont respond).
See also my answer in the other thread.
Essentially you should try to verify that Seed7 works correctly,
before
you use your editor. The progam chk_all.sd7 should be started in a
console with
  hi chk_all
compiling the compiler - okay
chkint - okay
chkstr - okay
chkprc - okay
chkbig - okay
chkbool - okay
chkset - okay
chkexc - okay
The chk_all.sd7 program interpretes all chk... programs and verifies
that the output is correct. It also compiles all chk... programs (with
the
interpreted Seed7 compiler), executes the generated executables and
verifies this output also for correctnes. Additionally the chk...
programs
are compiled with the compiled Seed7 compiler and the generated C
programs are compared to the ones generated by the interpreted
Seed7 compiler. So the chk_all.sd7 program checks really a lot.
Before you use your own editor you should use some simple
editor like Notepad or Wordpad (maybe Notepad has problems with
line endings so Wordpad may be better). Start Wordpad form the
explorer, but start the Seed7 interpreter and compiler from a
command window. This way you can better see the error messages.
Such steps should help you to find the place where something
wents wrong.
The binary release of Seed7 uses relative paths for finding the
include (*.s7i) files. The Seed7 compiler of the binary release also
uses
relative paths. This was done to avoid an installation which changes
the PATH variable or the registry. Because of the relative paths you
need to be in the seed7\prg directory when you call the interpreter or
compiler.
I hope this information helps you.
Greetings Thomas Mertes
--
Seed7 Homepage:  http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.
I test ,run succesfuly chk_all.sd7 and all works perfect first time.
But again second time just dont respond.
Did you start chk_all.sd7 from a command window or from
your scintilla editor?


Greetings Thomas Mertes

--
Seed7 Homepage: http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.
aury
2010-12-22 15:43:14 UTC
Permalink
Post by tm
Post by aury
Post by tm
Post by aury
Post by aury
Post by aury
Post by maxTri
Post by tm
Post by tm
Post by aury
...but hey this depend on author of seed7.
I really dont understand why he as expirienced C programmer dont build
stable windows binary?
Please be patient, I am thinking over a solution for you,
but it will probably take a few days.
Time to wait is over now... :-)
I just released the trial windows version seed7_05_20101215_win.tgz
http://sourceforge.net/projects/seed7/files/bin/
Thank you very much.
You do some great work, keep on with it.
Max
This SourceForge links really piest me off becose download link dont
work for
me ,weird becose i have account....grrrrrr.
As i say please put this somwhere else.
And as i say before create forum for seed7...
Uff i finaly download ...
OK i will see how work...
Thanks ....
Thomas it is not stable...
Open exemple work fine.
Run example work fine first time.
Then i just made small change in example almost nothing.
Editor as i say have autosave which means that when user change
something in
code before run file is autosaved.
Then after that this same example dont run(simply dont respond).
See also my answer in the other thread.
Essentially you should try to verify that Seed7 works correctly,
before
you use your editor. The progam chk_all.sd7 should be started in a
console with
hi chk_all
compiling the compiler - okay
chkint - okay
chkstr - okay
chkprc - okay
chkbig - okay
chkbool - okay
chkset - okay
chkexc - okay
The chk_all.sd7 program interpretes all chk... programs and verifies
that the output is correct. It also compiles all chk... programs (with
the
interpreted Seed7 compiler), executes the generated executables and
verifies this output also for correctnes. Additionally the chk...
programs
are compiled with the compiled Seed7 compiler and the generated C
programs are compared to the ones generated by the interpreted
Seed7 compiler. So the chk_all.sd7 program checks really a lot.
Before you use your own editor you should use some simple
editor like Notepad or Wordpad (maybe Notepad has problems with
line endings so Wordpad may be better). Start Wordpad form the
explorer, but start the Seed7 interpreter and compiler from a
command window. This way you can better see the error messages.
Such steps should help you to find the place where something
wents wrong.
The binary release of Seed7 uses relative paths for finding the
include (*.s7i) files. The Seed7 compiler of the binary release also
uses
relative paths. This was done to avoid an installation which changes
the PATH variable or the registry. Because of the relative paths you
need to be in the seed7\prg directory when you call the interpreter or
compiler.
I hope this information helps you.
Greetings Thomas Mertes
--
Seed7 Homepage: http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.
I test ,run succesfuly chk_all.sd7 and all works perfect first time.
But again second time just dont respond.
Did you start chk_all.sd7 from a command window or from
your scintilla editor?
Greetings Thomas Mertes
--
Seed7 Homepage: http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.
Reply to Thomas....
I understand that seed7 must be started from command prompt.
First i dont like this option...
If you wish to make seed7 that can be started normaly on windows
you must made some changes,ok...
Of course...its ok for me if you dont want do this..
So if you think that current state of seed7 is ok for you ,then ok...
But i also dont underdstand why you insist on runing from command
prompt,hey look Yabasic -small console interpreter work excellent on
windows without need to use command prompt.
I hope that you understand my point of view.
Why im talking this...
I think that concept of seed7 is great...
So man adapt seed7 for windows not for command prompt....
aury
2011-01-26 12:05:02 UTC
Permalink
Post by aury
Post by tm
Post by aury
Post by tm
Post by aury
Post by aury
Post by aury
Post by maxTri
Post by tm
Post by tm
...but hey this depend on author ofseed7.
I really dont understand why he as expirienced C programmer dont build
stable windows binary?
Please be patient, I am thinking over a solution for you,
but it will probably take a few days.
Time to wait is over now... :-)
I just released the trial windows version seed7_05_20101215_win.tgz
http://sourceforge.net/projects/seed7/files/bin/
Thank you very much.
You do some great work, keep on with it.
Max
This SourceForge links really piest me off becose download link dont
work for
me ,weird becose i have account....grrrrrr.
As i say please put this somwhere else.
And as i say before create forum forseed7...
Uff i finaly download ...
OK i will see how work...
Thanks ....
Thomas it is not stable...
Open exemple work fine.
Run example work fine first time.
Then i just made small change in example almost nothing.
Editor as i say have autosave which means that when user change
something in
code before run file is autosaved.
Then after that this same example dont run(simply dont respond).
See also my answer in the other thread.
Essentially you should try to verify thatSeed7works correctly,
before
you use your editor. The progam chk_all.sd7 should be started in a
console with
hi chk_all
compiling the compiler - okay
chkint - okay
chkstr - okay
chkprc - okay
chkbig - okay
chkbool - okay
chkset - okay
chkexc - okay
The chk_all.sd7 program interpretes all chk... programs and verifies
that the output is correct. It also compiles all chk... programs (with
the
interpretedSeed7compiler), executes the generated executables and
verifies this output also for correctnes. Additionally the chk...
programs
are compiled with the compiledSeed7compiler and the generated C
programs are compared to the ones generated by the interpreted
Seed7compiler. So the chk_all.sd7 program checks really a lot.
Before you use your own editor you should use some simple
editor like Notepad or Wordpad (maybe Notepad has problems with
line endings so Wordpad may be better). Start Wordpad form the
explorer, but start theSeed7interpreter and compiler from a
command window. This way you can better see the error messages.
Such steps should help you to find the place where something
wents wrong.
The binary release ofSeed7uses relative paths for finding the
include (*.s7i) files. TheSeed7compiler of the binary release also
uses
relative paths. This was done to avoid an installation which changes
the PATH variable or the registry. Because of the relative paths you
need to be in theseed7\prg directory when you call the interpreter or
compiler.
I hope this information helps you.
Greetings Thomas Mertes
--
Seed7Homepage: http://seed7.sourceforge.net
Seed7- The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.
I test ,run succesfuly chk_all.sd7 and all works perfect first time.
But again second time just dont respond.
Did you start chk_all.sd7 from a command window or from
your scintilla editor?
Greetings Thomas Mertes
--
Seed7Homepage: http://seed7.sourceforge.net
Seed7- The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.
Reply to Thomas....
I understand thatseed7must be started from command prompt.
First i dont like this option...
If you wish to makeseed7that can be started normaly on windows
you must made some changes,ok...
Of course...its ok for me if you dont want do this..
So if you think that current state ofseed7is ok for you ,then ok...
But i also dont underdstand why you insist on runing from command
prompt,hey look Yabasic -small console interpreter work excellent on
windows without need to use command prompt.
I hope that you understand my point of view.
Why im talking this...
I think that concept ofseed7is great...
So man adaptseed7for windows not for command prompt....
Hello there any news about windows version?

aury
2010-12-15 12:01:48 UTC
Permalink
Post by Leo Davidson
It's really exciting that the four people who give a damn about Seed7
have found each other but could you maybe take this conversation
elsewhere and stop spamming hundreds of people with an unwanted play-
by-play account of getting it to compile?
Good morning.
Good morning to you...
Unfortunatly you are right...but hey this depend on author of seed7.
I really dont understand why he as expirienced C programmer dont build
stable windows binary? then we as amateurs must do this.

For examle concept of my interpreter is not based on any external
library there is only
one source code,nothing else.
But concept of seed7 is extendable on this way and remind me on Dlib.
tm
2010-12-15 07:03:58 UTC
Permalink
Post by aury
Thomas...
I read of course everything what you saying but(BIG BUT...)
I understand that lib version must be same as version of produced
hi.exe.
Weird thing heapend,,,
I  use Bart-s hi.exe with latest release from sourcefoge download
page.
I know that is not proper but still some examples work with my editor.
After few times i try examples hi.exe simple dont respond why that's
heapend i really dont
understand(sometimes work sometims not)
When I try hi.exe from BartC with the newest library I just
get error messages (to see the error messages hi.exe must
be started from a command window). Did you change something
to get the examples running?

The environment variable SEED7_LIBRARY can be used to inform
hi.exe where the *.s7i files are. You can try to define it.
Post by aury
Examples are great...(for example Lander game).
i still cannot compile interpreter by myself,i try from command prompt
but without succes.
Please give me more detailed information.
What happens when you type

gcc --version

at the command prompt?
Post by aury
So i will upload my editor to ucoz site and i will post you link that
you can download editor and try.
maby you can figured why dont work.
As i say again,first time when i try examples with Bart hi.exe some
examples work.
But then after few minutes i try again and nothing work(whole bunch of
errors...) very weird.
You are using hi.exe and its libraries in a wrong way.
What do you expect. I warned you not to do this.

I really want to help you.
I will think over your problems.


Greetings Thomas Mertes

--
Seed7 Homepage: http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.
tm
2010-12-12 21:24:45 UTC
Permalink
Post by aury
Thomas...
I understand that is not a joke but is not nececery to make this pool.
First i work on windowsXPsp2.
And i use MingW as many people from windows world prefere this C
compiler.
Im not a C programmer i most of my work based with Basic compilers.
I also compile many things with MingW gcc compiler and most of things
compile
fine under this compiler without to many problems.
I currently try to use CodeLite IDE +MingW.
And i simply dont understand what im need to do with this sources?
Let's assume that you used 7zip and unpacked seed7 to the directory

C:\Program Files\seed7

Now you can start a Command window. See at

http://en.wikipedia.org/wiki/Command_Prompt

how a command window looks like. :-)
In the command window type the command

cd "C:\Program Files\seed7\src"

Now you can continue with the explanation from BartC. Type

copy mk_mingw.mak makefile

The mingw setup should contain a file mingw\bin\mingw32-make.exe
(if mingw is recent). Still inside seed7\src, at the command
prompt, use:

mingw32-make depend

Then when it's all done, type:

mingw32-make

At the end, there should be a file called hi.exe in seed7\src.

-- End citation --

If all went well a copy of the executable (hi.exe) should be
in the directory C:\Program Files\seed7\prg .
So you have to type just 4 commands.
Try them and tell me what happened.
When there are problems, e.g. mingw32-make.exe missing or
you get compilation errors, please tell me.

After compiling successfully you can change to the directory

"C:\Program Files\seed7\prg"

with

cd ..\prg

and start a Seed7 program with

hi hello
Post by aury
As i see one part of source files are headers,ok.
Do i need first compile this headers then compile c sourece files.
No, just use the makefile, as explained above. BTW: The seed7
directory contains the file read_me.txt where some explanations
can be found. The compilation of Seed7 is explained in the file
seed7/src/read_me.txt .
Post by aury
Most of IDE.s need project workspace.
So i think that you must crete project file.
Also many people use Code::Blocks IDE + MingW to.
So i have suggestion for you if is ok?
There are many C development IDEs (Visual C++, Borland/Embarcadero,
Eclipse, KDevelop, Code::Blocks, and many many more) and most of
them use incompatible project files. I don't want to tie Seed7 to
a certain IDE and I am just not able to support project files for
all this development IDEs. Instead I support some way to compile
C programs which works on almost every platform: Makefiles. They
are really an old way to compile C programs, but they are portable
and they are written in ASCII. I see an ASCII file as big advantage
over binary project files which will not work on other platforms.
Post by aury
Try somehow adapt this sources that can be compiled with
CodeLite or CodeBlocks + MingW.
Why ...simply becose this IDEs are freeware.
Another thing maby is becose windows xp need win32 console app
not console(command prompt) type of application.
I use Windows XP myself (besides my main computer which runs
Linux) and the command console (with the command prompt) works.
Post by aury
And people from windows are not much used on this command line
compiling( belive me...that's true)
I know, you are not the first person with such problems. That
encourages me that an installer is the only solution sufficient
for windows users. It is just necessary that the installer is
operated with mouse clicks. But then, several Seed7 example
programs need to be started from the command console as well...
And there is no Seed7 IDE, so you need to use an editor also.
Post by aury
Im just guessing.....
About downloading ,that is not problem at all.
I download latest tar and unpack them with 7zip archiver.
About installers,i dont preffer installers becose if everything work
fine as portable there is no need for installers.
For Seed7 an executable is not enough. There are also include files
and the path to them is hardcoded in the interpreter. And the Seed7
compiler uses also configuration information from the interpreter.
When hi.exe was compiled with Visual C++ and you have gcc (MinGW)
installed the Seed7 compiler might generate wrong C programs.
Post by aury
I dont use installer for my ABasic interpreter and all works ok.
I think that i give you some constructive points how i see some
problems,but hey maby im wrong about some things....
by the way i see seed7 has very very good new language not to
tuff to learn,syntax is also fine for me...
Thank you, hopefully you keep this view when you try it out.
Please give me some feedback.


Greetings Thomas Mertes

--
Seed7 Homepage: http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.
Continue reading on narkive:
Loading...