Tutorial

article

Eiffel Configuration Tools

Introduction

Lately I have had time to improve the tool support for Eiffel configuration files written in the Pyxis format, by the introduction of syntax highlighting in the gedit text editor and tools for converting XML to Pyxis. For those that are not familiar, Pyxis is an alternative syntax for XML files inspired by the Python programming language.

article

Introducing Pyxis, the readable alternative to XML for Eiffel configuration files

Introduction

Although XML was designed to be a human readable data description language it does not compare well to other data description languages in terms of clarity and readability.

article

Agents versus Adapters

This really applies to all incarnations in all languages of higher order functions in Object Oriented languages.

article

EROS - the Eiffel Remote Object Server framework

  1. REDIRECT [[1]]

Introduction to EROS

EROS is an experimental client-server application framework that is part of the Eiffel Loop collection of libraries. It was created for the purpose of writing client-server applications in which multiple clients can remotely call Eiffel routines using an original XML orientated protocol.

article

Eiffel callback trampolines

Eiffel trampolines solve the problem of mismatched calling conventions between external languages like C/C++/ObjC and Eiffel.

The code for the library described is available at git://github.com/clemahieu/eiffel_trampolines.git

A useful reference for calling conventions is available at http://en.wikipedia.org/wiki/X86_calling_conventions

When doing a callback from C, we need to convert a f

article

Creating a .NET delegate object from an Eiffel routine

Someone recently asked me how to create a .NET delegate from an Eiffel routine. Ideally it would be nice to simply do:

	my_delegate := (agent my_routine).to_delegate

where `to_delegate' is a query from the ROUTINE class. However this feature does not yet exist.

article

Passback variable performance comparison

These tests test the allocation performance of 3 passback variable options and the subsequent access time when retrieving the value back from the calling function.

The difficulty in a general solution arises with void safety.

article

How to run eweasel in Eiffel Studio Testing Tool GUI

1. Make sure you have installed Eiffel Studio 6.4 or greater.

2. Check out Eiffel SVN trunk repository and Eweasel SVN repository (https://svn.eiffel.com/eiffelstudio/trunk/eweasel)

3.

article

How to get the output of a command using EiffelProcess

This is a quite basic but essential operation: Launch a command, and get its output in a string.

There are various solutions.

  • One is to redirect the output to a temporary file, and then read its content. But this is not convenient, since it require disk access, and you can not always hide the process.
article

Eiffel exceptions

A common question asked about Eiffel, especially those coming from Java or C# backgrounds is, where's my try...catch...finally block?

Syndicate content