Forum

by Jocelyn Fiat (modified: 2017 May 24)

:: Welcome :: Forum

Eiffel related groups and forums:

Check the latest messages:

  • Dec 13
    Re: [eiffel-users] Value type conversion to reference not working e.g. BOOLEAN_REF/BOOLEAN
    Alex, I'll try to construct a minimal system that replicates the problem; however, it doesn't always occur, and in a finalised version of the system, it seems that things mostly work... thanks - thomas On Wednesday, 13 December 2017 14:18:56 UTC, Alexander Kogtenkov wrote: > > Hi Thomas, > >
  • Dec 13
    Re: [eiffel-users] Value type conversion to reference not working e.g. BOOLEAN_REF/BOOLEAN
    Hi Thomas, Is your system multithreaded? If not, perhaps the object, when a clone of a expanded object, is not correctly protected against garbage collection. That's what comes to my mind to explain the randomness of this problem. I remember giving it a try on my computer last year (using
  • Dec 13
    Re: [eiffel-users] Value type conversion to reference not working e.g. BOOLEAN_REF/BOOLEAN
    On 13/12/2017 15:25, Eric Bezault wrote: Hi Thomas, Is your system multithreaded? If not, perhaps the object, when a clone of a expanded object, is not correctly protected against garbage collection. That's what comes to my mind to explain the randomness of this problem. ah - that is a good
  • Dec 13
    Re: [eiffel-users] Value type conversion to reference not working e.g. BOOLEAN_REF/BOOLEAN
    Hi Thomas, In order to make sure we are on the same page, the code below is a complete version that can be compiled and run. For me it prints 202 202 True True True True I guess, you are doing something else. So, it would be nice to get the version that fails. Alexander
  • Dec 13
    Re: [eiffel-users] Value type conversion to reference not working e.g. BOOLEAN_REF/BOOLEAN
    It's probably not related to this problem, but in eif_macro.h I found: #define RTCCL(x) ((x && eif_is_expanded(HEADER(x)->ov_flags))? RTRCL(x): (x)) I think that it would be safer to write: #define RTCCL(x) (((x) && eif_is_expanded(HEADER(x)->ov_flags))? RTRCL(x): (x))
  • Dec 13
    Value type conversion to reference not working e.g. BOOLEAN_REF/BOOLEAN
    I've asked this question various times over the years, but what the compiler and runtime do changes, so I'll ask it again... The following code executes in the debugger: create prim_obj.make(eif_fld_val) -- definition of the relevant call class PRIMITIVE_OBJECT make(a_val: like value) do
  • Dec 07
    Re: [eiffel-users] Re: Eiffel.NET and Vision2 Breaks!
    Ah, okay! I was not aware of ESpec predating AutoTest. Now, I get it. Larry Rix Moonshot Software Rocket science for everyone! Savannah, GA 770-295-9729 On Thu, Dec 7, 2017 at 7:52 AM, Jonathan Ostroff wrote: > > > On Dec 7, 2017, at 6:39 AM, Larry Rix
  • Dec 07
    Re: [eiffel-users] Re: Eiffel.NET and Vision2 Breaks!
    not having an AutoTest implementation? Is this specifically designed for that purpose? Larry, It did not have to do with .NET. The original implementation of ESpec predates AutoTest by many years. It was done to encourage our students to develop a TDD mindset. Regards, Jonathan
  • Dec 07
    Re: [Eiffel-Loop News] Update on Amazon Instant Access API
    Reflection Notes I forgot to mention about one cool new feature of the template substitution class EL_SUBSTITUTION_TEMPLATE that is demonstrated in class AIA_AUTHORIZATION_HEADER. You can use `set_variables_from_object' to reflectively set the variables in the template from an object that
  • Dec 07
    [Eiffel-Loop News] Update on Amazon Instant Access API
    Amazon Instant Access API Amazon Instant Access (AIA) is a fulfilment technology for digital content that is purchased on the Amazon website and is delivered by a third party vendor. Motivation My motivation for developing this API is so I can advertise my software on the thousands of books sold
  • Dec 07
    Re: [eiffel-users] Re: Eiffel.NET and Vision2 Breaks!
    Thanks for the input, Jonathan! I will attempt an implementation. To be sure I understand—did you create ESpec in response to Eiffel.NET not having an AutoTest implementation? Is this specifically designed for that purpose?
  • Dec 07
    Re: [eiffel-users] Re: Eiffel.NET and Vision2 Breaks!
    Hi Larry: On Dec 6, 2017, at 10:10 AM, Larry Rix wrote: Hi Jonathan! Is it correct to conclude that ESpec does the following: 1. Places test results in an HTML document where it is view-capable in a browser VS what I have, which is just a simple text file? Yes,
  • Dec 06
    Re: [eiffel-users] Eiffel.NET and Testing Library
    facilities to test the API of an Eiffel-based assembly, yes? Hi Larry, yes that’s what I was suggesting. > If so, this is an okay work around. It would be the same as if .NET had no testing capacity and I wrote tests for C# classes from Eiffel. A little cumbersome because it means I have to
  • Dec 06
    Eiffel.NET & attribute keyword - Broken!
    Can anyone else confirm: It appears that when one uses the "attribute" keyword that Eiffel.NET breaks because of a Void target. It appears that the underlying .NET code is not coded to see the self-initializing attribute and therefore does not run the code within the attribute-end block, which
  • Dec 06
    Re: [eiffel-users] Re: Eiffel.NET and Vision2 Breaks!
    Hi Jonathan! Is it correct to conclude that ESpec does the following: 1. Places test results in an HTML document where it is view-capable in a browser VS what I have, which is just a simple text file? 2. ESpec uses inheritance coupled with Workbench Run to execute the test code added to various
  • Dec 06
    Testing Broken
    Error code: VMFN Error: two or more features have same name. What to do: if they must indeed be different features, choose different names or use renaming; if not, arrange for a join (between deferred features), an effecting (of deferred by effective), or a redefinition. Class: EQA_TEST_OUTPU
  • Dec 06
    Re: [eiffel-users] Eiffel.NET and Testing Library
    Hi Peter, The testing facilities of .NET are there and I am presently using them for a client here locally. So, I understand your point. To be sure—your suggestion is to exclusively use the .NET testing facilities to test the API of an Eiffel-based assembly, yes? If so, this is an okay work
  • Dec 06
    Re: [eiffel-users] Eiffel.NET and Vision2 Breaks!
    I have also put an answer to a Quora question about Eiffel at: https://www.quora.com/What-can-you-say-about-Eiffel-programming-language Ian On 6 Dec 2017, at 10:39, Ian Joyner wrote: I’ve been submitting answers and comments to Quora recently. I still think the need for a
  • Dec 05
    Re: [eiffel-users] Eiffel.NET and Vision2 Breaks!
    I’ve been submitting answers and comments to Quora recently. I still think the need for a modern language is critical at this time – even more so due to security. Eiffel has been discussed on Quora and maybe this thread is of relevance, although I can’t vouch for the accuracy of the comments.
  • Dec 05
    Re: [eiffel-users] Eiffel.NET and Testing Library
    might do as an alternative to AutoTest. What I am considering is just writing a small set of testing classes with assertions, but instead of working within EiffelStudio, they will work from within a specific target. Rather than writing your own, Larry, you should be able to use one of the
  • Dec 05
    Re: [eiffel-users] Re: Eiffel.NET and Vision2 Breaks!
    On Dec 5, 2017, at 11:12 AM, Larry Rix wrote: From within the Eiffel.NET project, I cannot use Vision2. I cannot use the AutoTest. I cannot use the .NET Windows Forms (apparently). All I appear to be able to do is code pure business tier logic and make access to
  • Dec 05
    Re: [eiffel-users] Re: Eiffel.NET and Vision2 Breaks!
    Creates the following output file:
  • Dec 05
    Re: [eiffel-users] Re: Eiffel.NET and Vision2 Breaks!
    And the ENET_ASSERTIONS has all of the assertion_* logic.
  • Dec 05
    Re: [eiffel-users] Re: Eiffel.NET and Vision2 Breaks!
    Here is a sample of the testing code and how it looks. The idea was really simple to dream up and then code out and test. It works really well (so far). I guess I am stuck with business tier processing only. Sucks.
  • Dec 05
    Re: [eiffel-users] Re: Eiffel.NET and Vision2 Breaks!
    Anthony, I actually LOVE Eiffel. I want to use it all the time. The roadblocks are just too numerous. I have two potential paying clients and I am STUCK! Absolutely STUCK! From within the Eiffel.NET project, I cannot use Vision2. I cannot use the AutoTest. I cannot use the .NET Windows Forms
  • See more ...