jump to navigation

First Cut at Components August 16, 2011

Posted by mpscmed in code, dev progress.
trackback

We have started implementing interfaces, components, ports, instances and connectors. At this point we can work with connected atomic components (no composite components yet). Here is some example code:

Turns out, that in order to implement component instances which can each be connected to different other components, we have to introduce a struct with functions pointers that keeps track of the wirings on a per-instance bases. The function references we implemented recently did a marvelous job here :-)

Next up is the support for composite components.

Advertisement

Comments»

1. Wolfgang Messner - August 19, 2011

Looks really promising. I’m looking forward to play with the language.

2. From Interfaces to Contracts « mbeddr.com – embedded development using c language extensions - January 1, 2012

[...] a previous post we have talked about components and interfaces. We believe that components are an essential and [...]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.