jeanluc | 20 Mar 17:02
Picon
Favicon

Compile to jvm

bonjour,
est ce que le compilateur java est toujours en friche ou existe il une 
version stable ?
merci

--

-- 
SHOM/DO/MGS/INF
Service hydrographique et océanographique de la Marine
13 rue du Chatellier
CS92803
Longitude : 04°30'15" O - Latitude : 48°24'14" N

Peter Moueza | 29 Oct 10:43
Picon

loop bug compilation

hi,
I post here because no answer from my subscription request.

On ubuntu 11.04, 11.10, make =make all is buggy because it goes in infinite loop
See, for 2.2, make = smarteiffelMakeBugList.txt
               make -d = smarteiffelMakedBugList.txt

make interactive is ok
peter <at> O:~/SmartEiffel$ make

Hello!

Thank you for choosing SmartEiffel.

I'm here to help you install your software. Many default options have been set
for you; the simplest way to install SmartEiffel is to keep pressing the
<Enter> key as long as I ask anything.

Of course you can change the options I set; it's just a matter of chosing items
in the menus, and you'll see you can greatly customize your SmartEiffel
installation. A golden rule is, just pressing <Enter> always works, and
inexorably leads towards the actual SmartEiffel installation. When no default is
provided (between brackets), the <Enter> key will just leave everything
unchanged and get you back to the previous menu.

As training, you'll be asked to press the <Enter> key to gain access to the
main menu ;-)

(Continue reading)

pkg | 24 Oct 13:16

Differences between SmartEiffel and ECMA

Hello,
Can somebody point me to a resource where I can find the language differences
between SmartEiffel and the ECMA standard ?

Piotr

Phil Malin | 2 Jan 02:46
Picon

State of SmartEiffel

Hi all.

Happy New Year!

I was wondering what the current state of SmartEiffel is.  I remember a while ago Dominique saying that he was on the point of rebuilding the internal architecture of the compiler (the email was dated 21/01/10).  Any chance that any new stuff has been going on?  I've been occasionally doing svn updates but haven't noticed anything for a while.

Not that the lack of activity is stopping me from using the compiler.  I still use it as my language of choice for my personal projects.  :-)

Cheers,
Phil.

Thomas Preymesser | 5 Oct 14:51
Picon
Gravatar

Bug-Tracker for SmartEiffel?

Hello,

I tried to file the bug with the tutorial/xml/dom/example1.e program,
but i can't find a way to create a new bug on this page. What am I
doing wrong?

-Thomas

--

-- 
Thomas Preymesser
thopre <at> gmail.com
http://thopre.googlepages.com/
http://thopre.wordpress.com/

Thomas Preymesser | 20 Sep 15:10
Picon
Gravatar

Strange Eiffel error messages with tutorial/example1

Hello,

a few weeks ago i installed SmartEiffel Release 2.3 on my Windows 7 Starter Netbook. All programs that i wrote
compiled well.
But then i tried to compile the example1 programm im the tutorial/xml directory and got these strange errors:

cpp: show_xml1.c:4698 Macro redefinition of MAKEWORD, previously defined in c:\lcc\include\win.h 547
Warning show_xml1.c: 4724  sprintf: too many arguments
Warning show_xml1.c: 4785  missing prototype for fcntl
Warning show_xml1.c: 4785  Missing prototype for 'fcntl'
Error show_xml1.c: 4785  undeclared identifier 'F_GETFL'
Error show_xml1.c: 4786  undeclared identifier 'O_NONBLOCK'
Warning show_xml1.c: 4787  Missing prototype for 'fcntl'
Error show_xml1.c: 4787  undeclared identifier 'F_SETFL'
Warning show_xml1.c: 4787  possible usage of F_SETFL before definition
Warning show_xml1.c: 4786  possible usage of O_NONBLOCK before definition
Warning show_xml1.c: 4785  possible usage of F_GETFL before definition
Warning show_xml1.c: 4801  missing prototype for fcntl
Warning show_xml1.c: 4801  Missing prototype for 'fcntl'
Error show_xml1.c: 4801  undeclared identifier 'F_GETFL'
Error show_xml1.c: 4802  undeclared identifier 'O_NONBLOCK'
Warning show_xml1.c: 4803  Missing prototype for 'fcntl'
Error show_xml1.c: 4803  undeclared identifier 'F_SETFL'
Warning show_xml1.c: 4803  possible usage of F_SETFL before definition
Warning show_xml1.c: 4802  possible usage of O_NONBLOCK before definition
Warning show_xml1.c: 4801  possible usage of F_GETFL before definition
Warning show_xml1.c: 4831  Missing prototype for 'net_tcp_socket'
Warning show_xml1.c: 4842  Missing prototype for 'net_udp_socket'
Error show_xml1.c: 4890  undeclared identifier 'SD_BOTH'
Warning show_xml1.c: 4890  possible usage of SD_BOTH before definition
Warning show_xml1.c: 4976  Missing prototype for 'net_tcp_socket'
Warning show_xml1.c: 4984  Missing prototype for 'net_udp_socket'
7 errors, 19 warnings

This is the source of the program:

class SHOW_XML
--
-- This simple example just uses XML_TREE.
--
-- See EXAMPLE2 on how to extend XML_TREE to add validation features.
--
insert
    ARGUMENTS

create {}
    make

feature {}
    make is
        local
            in: TEXT_FILE_READ
            tree: XML_TREE
            version: STRING
        do
            -- first create the stream
            create in.connect_to(argument(1))
            if in.is_connected then
                -- then create the tree
                create tree.with_error_handler(in, agent error)
                -- now display the results
                -- version := tree.attribute_at(once "version")
                if version /= Void then
                    io.put_string(once "XML version: ")
                    io.put_string(version)
                    io.put_new_line
                end
                display_node(tree.root, 0)
            end
        end

    display_node (node: XML_NODE; indent: INTEGER) is
        local
            i: INTEGER
        do
            from
                i := 1
            until
                i > indent
            loop
                io.put_string(once "  ")
                i := i + 1
            end
            io.put_string(node.name)
            if node.attributes_count > 0 then
                io.put_character('(')
                from
                    i := 1
                until
                    i > node.attributes_count
                loop
                    if i > 1 then
                        io.put_string(once ", ")
                    end
                    io.put_string(node.attribute_name(i))
                    io.put_character('=')
                    io.put_string(node.attribute_value(i))
                    i := i + 1
                end
                io.put_character(')')
            end
            io.put_new_line
            from
                i := 1
            until
                i > node.children_count
            loop
                display_node(node.child(i), indent + 1)
                i := i + 1
            end
        end

    error (line, column: INTEGER) is
        do
            std_error.put_string(once "Error at ")
            std_error.put_integer(line)
            std_error.put_string(once ", ")
            std_error.put_integer(column)
            std_error.put_string(once "!%N")
            die_with_code(1)
        end

end

I tried to find out which statement causes the error. I disabled the line
"create tree.with_error_handler(in, agent error)". The program compiled now, but of course it can not work properly without this statement.

Does anybody know, why i am getting these errors?  What can i do?

-Thomas


--
Thomas Preymesser
thopre <at> gmail.com
http://thopre.googlepages.com/
http://thopre.wordpress.com/

Christophe HARO | 3 Aug 06:47
Picon
Favicon

Constraint genericity and REAL_GENERAL

Bonjour,

I do not understand why it is not legal to declare :

    expanded class MY_CLASS[T -> REAL_GENERAL]

but it is legal to write :

    expanded class MY_CLASS[T -> NUMERIC]

and I do not understand the message : << Actually this is only a compiler implementation facility. >> that
the compiler outputs in the first case :

compile -debug test_math_macros_real.e -o test_math_macros_real.exe
****** Fatal Error: The REAL_GENERAL type cannot be used here.
Actually this is only a compiler implementation facility.

Line 17 column 22 in MATH_MACROS (/Users/haro/livres-eni/poo/heritage/programmes/figures/math-macros/math_macros.e):
    MATH_MACROS[T -> REAL_GENERAL]
                     ^            
------
Error occurs while compiling. Compilation process aborted.

Can someone help me to understand ?

Thanks in advance.

Regards,

--

-- 
Christophe HARO
Christophe.HARO <at> free.fr
----------------------------

andrew.z.carroll | 27 Jul 18:00
Favicon

real time

I will be searching the archive for information about using Eiffel in real time
applications.  I thought I would post this message though, to see if anyone
knows, quickly, if Eiffel can be used for real time applications.

Thanks
Andrew

thopre | 24 Mar 13:27
Picon
Gravatar

Fatal Error: Cannot find the class "ANY" in any known cluster.

Hello,

i tried to install SmartEiffel on a Ubuntu Linux System and got this error:

$ make interactive
Compiling bootstrap compiler
Compiling install germ
****** Fatal Error: Cannot find the class "ANY" in any known cluster.

------
make: *** [install/germ/compile_to_c.h] Error 1

Dominique Colnet | 20 Jan 20:57
Picon
Favicon

Re: [smarteiffel-dev] Liberty

On Tue, 2010-01-19 at 21:43 +0100, Cyril ADRIAN wrote:
> Dear Eiffel users, hackers, and believers,
> 
> We are happy to announce the birth Liberty Eiffel.
Excellent !
> 
> Liberty Eiffel is born from a simple idea: the Open Source and Free
> Software community needs a free-as-in-freedom Eiffel compiler that
> tries to be follow the principles that made Eiffel so appealing.
> 
> SmartEiffel is an academic project; as such it is a tool for its
> developers to test and prove ideas that made their way into papers;
> such a goal naturally requires the development model to follow the
> rules of the academia, for example keeping all the coding in-house.
By the way, I am working with Benoit Sonntag from the Lisaac project
and I am on the point to rebuild completely the internal architecture
of the SmartEiffel compiler.
> 
> We are designing and developing an Eiffel compiler, compatible with
> SmartEiffel, but with different goals:
> 
> - keep the language and the required run-time system as simple as
>   possible;
Great
> 
> - stick to the same high quality requirements that make SmartEiffel
>   such a good piece of Free Software;
> 
> - "exit the ivory tower", being a community-driven project without the
>   requirements of academic goals; being easily or automatically
>   interoperable with most mainstream languages (C, Java, .NET...) is
>   an absolute need;
> 
> - "stand on the shoulder of giants", using the Low Level Virtual
>   Machine compier infrastructure (http://www.llvm.org) for the
>   backend;
> 
> - "provide the batteries", without "reinveinting the wheel"; the best
>   compiler in the world is useless without a wide set of libraries;
>   there is a huge set of free-as-in-freedom libraries that many
>   programmers and developers would like to use in Eiffel;
> 
> - give simple technical means to add more bindings and/or wrappers;
> 
> - maintain a simple and understandable design, striving to write the
>   most excellent Eiffel code;
> 
> - be available on most platforms.
> 
> Liberty is a community-driven project. You are invited to participate
> and test your own ideas. It's very easy: the code is shared on github.
> 
> Liberty is only beginning. We need you.
> 
>     http://liberty-eiffel.blogspot.com/
>     http://github.com/tybor/Liberty
> 
> Happy hacking,
> --
> Paolo Redaelli & Cyril Adrian
Very good news!

--

-- 
--------------------------------------------------------------
Dominique.Colnet <at> loria.fr -- IUT Nancy Charlemagne -- LORIA
http://SmartEiffel.loria.fr  --  The GNU Eiffel Compiler
POST: Loria, B.P. 239,54506 Vandoeuvre les Nancy Cedex, FRANCE
Voice:+33 0354503827 Mobile: +33 0665362381 Fax:+33 0383913201

Cyril ADRIAN | 19 Jan 21:47
Picon

Liberty

Dear Eiffel users, hackers, and believers,

We are happy to announce the birth Liberty Eiffel.

Liberty Eiffel is born from a simple idea: the Open Source and Free
Software community needs a free-as-in-freedom Eiffel compiler that
tries to be follow the principles that made Eiffel so appealing.

SmartEiffel is an academic project; as such it is a tool for its
developers to test and prove ideas that made their way into papers;
such a goal naturally requires the development model to follow the
rules of the academia, for example keeping all the coding in-house.

We are designing and developing an Eiffel compiler, compatible with
SmartEiffel, but with different goals:

- keep the language and the required run-time system as simple as
  possible;

- stick to the same high quality requirements that make SmartEiffel
  such a good piece of Free Software;

- "exit the ivory tower", being a community-driven project without the
  requirements of academic goals; being easily or automatically
  interoperable with most mainstream languages (C, Java, .NET...) is
  an absolute need;

- "stand on the shoulder of giants", using the Low Level Virtual
  Machine compier infrastructure (http://www.llvm.org) for the
  backend;

- "provide the batteries", without "reinveinting the wheel"; the best
  compiler in the world is useless without a wide set of libraries;
  there is a huge set of free-as-in-freedom libraries that many
  programmers and developers would like to use in Eiffel;

- give simple technical means to add more bindings and/or wrappers;

- maintain a simple and understandable design, striving to write the
  most excellent Eiffel code;

- be available on most platforms.

Liberty is a community-driven project. You are invited to participate
and test your own ideas. It's very easy: the code is shared on github.

Liberty is only beginning. We need you.

    http://liberty-eiffel.blogspot.com/
    http://github.com/tybor/Liberty

Happy hacking,
--
Paolo Redaelli & Cyril Adrian


Gmane