Forum

by Jocelyn Fiat (modified: 2017 May 24)

:: Welcome :: Forum

Eiffel related groups and forums:

Check the latest messages:

  • Aug 15
    How to extend STRING class properly in Eiffel

    I've just got the ACCOUNT old sample and write some code with the STRING owner's type:

    class
    ACCOUNT
    create
    make
    feature
    balance: INTEGER
    owner: STRING
    make
        do
            create owner.make_empty
        end
    minimum_balance: INTEGER = 1000
    open (who: STRING)
        do
            owner := who
        end
    

    The application's code is:

    acc: ACCOUNT
    make
        do
            create acc.make
            acc.open ("Jill")
            ...
    

    It is compiled and works. After I want to change owner type to a PERSON

    owner: PERSON
    ...
    open (who: PERSON)
        do
            owner := who
        end
    

    and I created the PERSON class just as an extension to the STRING class:

    class
    PERSON
    inherit
    STRING
    end
    

    I believe this can work in every language but seems not in Eiffel. The code fails to compile with VGCC(6) and VEVI errors. Any ideas?

  • Aug 14
    [ARTICLE] A more efficient way to process split strings
    Introduction One of the most commonly use string routines is {READABLE_STRING_GENERAL}.split. This routine is fine for most purposes, but if you wish to process very many or very large strings, this routine is inefficient because it creates a separate string instance for each split part. For
  • Aug 14
    [Eiffel-Loop] new release: version 1.4.8
    Latest Eiffel-Loop release: version 1.4.8 https://github.com/finnianr/Eiffel-Loop/releases/tag/1.4.8
  • Aug 12
    Re: [eiffel-users] Broken documentation links on eiffel.com / Process documentation?
    I've actually already written a process handling environment (here) that follows some previous version of this, and it used to work (for some years). I discovered after upgrading to ES 17 that when my function do_system_run_command_synchronous() is called with the path to Notepad on Win 10 as
  • Aug 11
    Re: [eiffel-users] Broken documentation links on eiffel.com / Process documentation?
    svn export https://svn.eecs.yorku.ca/repos/sel-open/misc/tutorial/command-line The above will provide you with a small working example of using the Process Library in ES17.05. (it’s based on the documentation you mention so it does not really add to what your already have). Jonathan On Aug
  • Aug 11
    RE: [eiffel-users] mingw / Win10 /ES 17.05 - out of space error
    It is an issue with cygwin tools in general, once in a while on a machine they fail with this error. The solution is to rebase the Cygwin dll. Follow the recommendations here: https://stackoverflow.com/questions/18502999/git-extensions-win32-error-487-couldnt-reserve-space-for-cygwins-heap-win
  • Aug 10
    Re: Broken documentation links on eiffel.com / Process documentation?
    I did find this statement from Alexander K in a recent post, but can't find anything called BaseProcess in the my ES 17.05 installation. Quite a bit of work was put into improvement of the simplified version of Process library, BaseProcess, that can be used like "system", but with more flexibili
  • Aug 10
    Broken documentation links on eiffel.com / Process documentation?
    This page in theory should provide links to all library documentation, For a lot of libraries you end up on a page like this, e.g. for EiffelProcess. This contains the link: - EiffelProcess Library documentation Which just goes back to https://www.eiffel.com/ Firstly, it would be helpful
  • Aug 10
    estudio in Windows Subsystem for Linux: runtime error
    Hello Manu, one more error report: while running autotest a runtime error is thrown! This is the stack trace: ******************************** Thread exception ***************************** In thread Root thread 0x0 (thread id) ***********************************************
  • Aug 10
    Re: estudio in Windows Subsystem Linux: network error
    Using estudio 16.05 on Windows 10 Ubuntu subsystem. Am Mittwoch, 9. August 2017 16:41:26 UTC+2 schrieb gerrit.leder: > > Hello Manu, > > You did already support estudio in WSL. Can you please have a look at the > following screenshot: I am not able to file a bugreport due to networking > errors
  • Aug 10
    Re: estudio in Windows Subsystem for Linux: runtime error
    Using estudio 16.05 on Windows 10 Ubuntu subsystem. Am Donnerstag, 10. August 2017 11:50:34 UTC+2 schrieb gerrit.leder: > > Hello Manu, > > one more error report: while running autotest a runtime error is thrown! > > This is the stack trace: > > ******************************** Thread exception >
  • Aug 09
    mingw / Win10 /ES 17.05 - out of space error
    I am now consistently getting the following error in a build of an application: Preparing C compilation using already configured mingw C compiler... 0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487 AllocationBase 0x0, BaseAddress 0x68560000, RegionSize 0x2E0000, State
  • Aug 09
    estudio in Windows Subsystem Linux: network error
    Hello Manu, You did already support estudio in WSL. Can you please have a look at the following screenshot: I am not able to file a bugreport due to networking errors in estudio! Thank you in advance Gerrit
  • Aug 07
    Building Eiffel projects with TravisCI
    New blog about how to Build your Eiffel projects with Travis CI /Javier
  • Jul 21
    Swagger Codegen for Eiffel
    We have added Eiffel API client generator to the open source project Swagger-codegen. Check the blog to learn more. If anyone wants to collaborate on it to add a server stub generator and enhance the current client generator, please reply to let us know. Thanks. /Javier
  • Jul 21
    Re: [eiffel-users] Swagger Codegen for Eiffel
    Can you provide an example of an API that we might want to talk to and a walk-through of using the Swagger generator to make the connection to the target API? Larry Rix Moonshot Software Rocket science for everyone! Savannah, GA 770-295-9729 On Fri, Jul 21, 2017 at 12:02 PM, javier hector
  • Jul 20
    Anyone have a gelex and/or geyacc lexer / parser for URIs?
    The subject says it all. thanks for any pointers. - thomas
  • Jul 17
    Re: [eiffel-users] Is this something that we could aim for with Eiffel compilers?
    I was more thinking of compiling Eiffel code to Webassembly code from Eiffels generated C-code. They already have a compiler from C to Webassembly as I understand it. Vänligen Anders Persson BSharp AB Applause Partner Nordic Region The Essential Guide to Mobile and Webb app quality Agile
  • Jul 17
    Re[2]: [eiffel-users] Is this something that we could aim for with Eiffel compilers?
    Indeed, but still the run-time needs to be adapted to the WebAssembly platform. Alexander Kogtenkov Anders Persson : I was more thinking of compiling Eiffel code to Webassembly code from Eiffels generated C-code. They already have a compiler from C to Webassembly as I
  • Jul 17
    Re: [eiffel-users] Is this something that we could aim for with Eiffel compilers?
    Yes, this technology is on the radar, and seems to be a good alternative to JavaScript. However, at the moment it is unclear if any users are going to use an Eiffel binding if it is available. Alexander Kogtenkov anders : Hi, As I recall we have had discussions about
  • Jul 15
    Is this something that we could aim for with Eiffel compilers?
    Hi, As I recall we have had discussions about compiling Eiffel to Javascipt but this might be an alternative that would be more interesting. http://webassembly.org/ Has anyone investigate Webassembly? Regards Anders
  • Jul 14
    Gobo Eiffel 4.2 released
    The focus of this release was to support multi-threading. In particular: * 'gec', the Gobo Eiffel Compiler, can now compile Eiffel applications in multi-threaded mode, using the same EiffelThread library as ISE Eiffel. * Made 'gelint' multi-threaded. It now runs almost 3 times faster on a
  • Jul 13
    Re[2]: [eiffel-users] Running external applications from Eiffel
    Quite a bit of work was put into improvement of the simplified version of Process library, BaseProcess, that can be used like "system", but with more flexibility, compatibility and efficiency in mind compared to the Process library. The library is available starting from the previous release,
  • Jul 13
    Re: [eiffel-users] Re: Running external applications from Eiffel
    I'm sure Finnian's facility is more modern than mine, but if you want to look at some code that knows how to run a command on Linunx, Mac, Windows or cygwin, with parameters and callback and return status, there is some code here that uses the process framework. Or get the whole git repo. I use
  • Jul 13
    Re: [eiffel-users] Running external applications from Eiffel
    I once tried to integrate the ISE process library with the Eiffel-loop OS-command library and experienced a serious latency issue. So I reverted back to using {EXECUTION_ENVIRONMENT}.system. I reported it as a bug back in 2011 with the synopsis: Running external commands using Unix implementatio
  • See more ...