Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - TomAddis

on: July 20, 2012, 02:42:41 PM 1 General Category / General Discussion / Re: UNIX Port of Clarity?

If you look at the source code you will see that it is written in standard C++.  The platform dependent material is kept separate to the core interpreter as X-Files (prefix with an X) which contain all the appropriate API's.  The original core FAITH interpreter was initially developed on a SUN workstation using UNIX.  We then moved to using an old Apple Mac system and then finally a PC Window operating system.  For a long time we kept both the Apple and PC versions going but in the end we just continued with the PC.

I should imagine that any UNIX programmer who took the current source code could change it to work under a UNIX system.  The source code is available to download free.

Regards Tom

on: January 05, 2011, 07:40:33 AM 2 General Category / General Discussion / Re: The Forum - A break through?

I have asked people not to use this as a source for free advertising.  You are now banned from future posting.  However if you agree to only use this site for its main purpose - Clarity activities then I will lift the ban.



on: December 24, 2010, 07:57:42 AM 3 General Category / General Discussion / Re: Welcome

It is not the purpose of this forum to provide free advertising space.  Its purpose is to provide a discussion centre for Clarity users.  Please don't use this for advertisiing.


on: December 03, 2010, 05:27:02 PM 4 General Category / General Discussion / Re: The Forum - A break through?

We have now reached our 1000 member. ;D 8)

on: November 30, 2010, 10:38:25 AM 5 General Category / General Discussion / Re: The Forum - A break through?

Hi Kenneth8gib

Interesting; tell us more!

on: November 03, 2010, 09:22:31 AM 6 General Category / General Discussion / Re: The Forum - A break through?

Hi Michel7more,

Welcome and I hope you will enjoy Clarity.  Please feel free to write about your games.  There might be one that could involve using Clarity itself (build yourself out a problem - say?). ;D

All the best


on: October 13, 2010, 08:57:05 AM 7 General Category / General Discussion / Re: Belief System

Hi Starwarp,
This is some long term work we were doing with Prof. David Gooding (Science Historian) od U of Bath.  We had quite a bit of funding from variouse research bodies to create a computer model of the research process.  This was to be derived, not from AI, but actual observations of scientists in the past (e.g. Faraday) and the model was created as a kind of working theory of the discovery process.  Our starting point was David's graphical summary of this process from historical evidence (Experiments and the Making of Meaning, Pub Kluwer 1990).  We went through variouse stages and the belief system was our final stage.  The belief system was kit that allowed David to explore and interpolate historical events and thus, in tern, discover more about what happens in scientific activity.  It includes scientists interacting with each other, doing experiments and evloving theories.  It can be looked upon a actor model with a specially created inference system.  It is different from the AI models in some importent respects. My next book will be detailing this investigation. :)


on: October 12, 2010, 07:48:24 AM 8 General Category / General Discussion / Re: The Forum - A break through?

Hi Starwarp,
Nice to have you on board; welcome.

ClarityLite was written at the request of my students who kept on complaining that there was too much to learn.  So in response we created ClrtityLite that just focused on what I thought were the essential programming concepts.  So many of the simple ideas were delt with in this framework.  However, we wanted the book to go much further and so the later chapters are for ClaritPro only.

ClarityPro has most of the file manipulations (Chapter 8, page275 +) you need,  but pixel manipulation would have to be done via your own functions.  Building your own library extensions are all described (there are three ways of doing it) and this of course goes with GUI (Chapter 9 page 315 +, particularly page 319).  We hope that the extension of ClarityPro will be done by others with different objectives so, at the most extreme, the source (in C) code is available on-line.

There is also the possibility of embeding Clarity/Faith as a function in your own code so anything is possible.

Happy to respond to any questions etc

Have fun and many thanks for your nice words.


on: October 03, 2010, 10:46:23 AM 9 General Category / General Discussion / The Forum - A break through?

Hi everyone,

I note we are now through the 500 barrier and at this rate of new members we will be through the 1000 barrier in end of February 2011.  However, not much discussion going on or questions being asked.  So why are you all joining?

Any truthful answers would be appriciated.


on: September 03, 2010, 07:39:18 AM 10 General Category / General Discussion / Re: Stopping a process and stack indicator. Also buffer size and 'show'

My pleasure and hope you will find it useful.

We are still doing some minor developments.  For example, we notice that the buffer size for holding the function parameter definitions is fixed.  This will be made variable in due course.  We have simply doubled the fixed size for the moment to take a 12 parameter function definition (don't ask).

We are also working on changing the function 'show' so that it will call the Faith to Clarity if no picture is available.  We will upload new source code sometime towards the end of the year with some of these minor changes.

on: June 04, 2010, 06:52:51 AM 11 General Category / General Discussion / Clarity and the New iPad

The iPad seems to be the ideal technology for using a ClarityPro environment.  Sometime ago I was flying to the USA from the UK and had a touch screen computer.  Clarity development was very easy on my lap as I moved boxes and created links with just a pen device.  How much better it would have been with my digit and the Apple interface.

Some of you young bloods out there should be able to get an App going from the source code.  Even a primitive form should make the iPad the ideal tool that goes beyond the iPhone.


on: April 24, 2010, 03:30:08 PM 12 General Category / General Discussion / Re: Stopping a process and stack indicator

No you are not alone.

The source code is now available through the link provided.  We have had some problems cleaning up the code. So I have not had time to look to see who has responded.


on: February 17, 2010, 06:17:35 PM 13 General Category / General Discussion / Stopping a process and stack indicator

One of the facilities not mentioned in the book Drawing Programs is the use of the 'escape' (esc) button to jump out of long process or never ending loop.  To do this you require to select, before you start, the menu item:

Control -> Enable/Disable Escape.

If you don't select this the only option is to 'End Task' which will lose all your work done before the last .ddb save.

Activating the 'Enable/Disable Escape' will have the effect of slowing down the process and changing the active curser to a circle.  The circle will have a black segment that will vary in size during the processing.  This segment shows how much of the stack is being used during a process.  While this is active pressing the 'esc' key will jump out of any process and take you back to the QUERY level.  The 'esc' key may have to be pressed more than once to execute the jump.

This is a very useful facility while developing functions since you don't lose what you have done if you make a 'big' mistake.

Have fun.


on: November 18, 2009, 04:10:33 PM 14 General Category / General Discussion / Welcome

Welcome to the Clarity Forum where issues concerning the design and development environment ClarityPro and its alternative forms can be discussed.
  The authors will do there best to provide answers where appropriate but we hope that there will be free discussions of new techniques and methods in this alternative way of programming.  It is further hoped that people will take up the offer of developing original facilities with the source code or provide new library functions using DLLs.
  We wish you all luck and fun in drawing programs.

Tom  :)
Pages: [1]