aldweb

Close I. aldweb

Close II. PC Freeware

Close III. Palm Freeware

Close IV. Palm Shareware

Close V. iziBasic Palm

Close VI. Palm Knowledge

Close VII. Pocket Computer

Close VIII. miniPortail

Search




Newsletter
To receive news about this website, consider subscribing to our Newsletter.
Subscribe
Unsubscribe
298 Subscribers
Webmaster - Infos
Visits

   visitors

   visitors online

article.gifIII. Palm Freeware - 7. LaFac

LaFac

Copyright (C) 2004-2006 Laurent Duveau



LaFac

  • Version : 1.2 (November 2006)
  • Freeware for :
  • Language :
  • Screen :
  • Downloadable File : lafac.zip (371 Kb)

LaFac stands for aldweb's LAnguage FACtory for Palm.
LaFac is a development tool which works directly from your Palm device.
LaFac comes with a p-code compiler for all 4 available development languages (one loop p-code compilers), a p-code runtime engine, a debugger, and a Stand-alone application builder.
LaFac currently comes with 4 inbuilt development languages:
1. Hellish & Esoteric Language for Palm = HELP (my invention)
2. micro BASic = µBAS
3. micro PAScal = µPAS
4. micro C = µC


Updates Description

v1.2 (11/17/06)
- FIX: if the last line of a source code was a comment without a final line feed, compilation would sometimes return a syntax error
- FIX: the number shown in the Runtime Option (Break every n instructions) would sometimes be filled with strange random characters instead of a number although the value hold by the application was OK
- ADD: High Resolution icons; this is a very kind contribution from Mike Featherstone (better late than never, Mike sent me these nice icons more than one year ago!); Thank you Mike
- ADD: various source code optimisations in the µBAS, µPAS and µC compilers
- ADD: explanations about the 2nd and 3rd parameters for MID$ (µBAS), SubString (µPAS) and SubStr (µC) functions in this help file (3rd parameter is endPosition and not NumberOfCharacters as it is more often the case for these languages)
- ADD: some information in this Help file to explain that LaFac was a proof of concept for a much more sophisticated compiler, iziBasic, which I developed afterwards
- Changed Donation URL (even though nobody ever donated for this freeware...)

v1.1 (07/22/04)
- FIX: if the user did not make a selection in popup list then a bad name string or an empty string was displayed in the popup instead of the previous selected item
- FIX: LaFac did not handle correctly instructions line > 63 characters in µBAS, µPAS and µC
- FIX: the data entry field could stay stuck in Numeric entry when asking for Text entry
- DEL: removed the CallCS / PeekCS / PokeCS / PeekNS / PokeNS / PeekTS / PokeTS functions which were of very little interest in LaFac
- ADD: LaFac can now work with the new Memos application introduced in PalmOS 5.2.8?, PMem/DATA creator/type (thanks Farcaller)
- ADD: Time format is now HH:mm:ss (was HH:mm)
- ADD: changed IntToString(popN) to RealToString(popN,number of decimals)
- ADD: various source code optimisations in the compilers

1.0 (06/05/04)
- initial release

Creation date : 05/06/2004 @ 23:20
Last update : 30/04/2007 @ 19:24
Category : III. Palm Freeware


Print the article Print the article

 
react.gifReactions to this article


Reaction #10 

by aldweb 30/01/2008 @ 08:01

Hello Mark,

Since LaFac is a one simple pass compiler, all GOTO statements must refer to a [jumpmark] that is defined ahead in the program.
So you should write your source code this way:

GOTIT:
Print "OOPS, GOT IT!"
END

BEGIN
PRINT "Try to stop this programm!"
START:
INPUT A
IF A=666 then GOTO GOTIT
GOTO START


Cheers,
aldweb

Reaction #9 

by Mark Wagner 29/01/2008 @ 20:45

Dear Laurent,

this might be a stupid request - but I am just stuck with what i know. I am trying to set a god old "If a=x then GOTO ...[jumpmark]"-Command using LaFac - Micro Basic. It does not seem to work eather way I try. (compilation error). Is there a chart on your site or anywhere on the net, that explains all the commands that work on the Basic Version that you used.

SIMPLE Example for what I am trying to do:

BEGIN
PRINT "Try to stop this programm!"
START:
INPUT A
IF A=666 then GOTO GOTIT
GOTO START

GOTIT:
Print "OOPS, GOT IT!"
END

THANX A LOT. Don't hesitate, to simply send Your Answer to my eMail, if thats fine with you.

Great Programm man!

Reaction #8 

by aldweb 21/01/2006 @ 15:34

Hello Jared,

You must have hundreds of memo records to get a time lag when loading LaFac.

For graphics and sound support, this is not planned at all in LaFac. LaFac was my proof of concept for a runtime compiler, and the enhanced version, focused on the BASIC language only, with graphics and sound support (and many, many other things!), is iziBasic

Cheers,
aldweb

Reaction #7 

by Jared 17/01/2006 @ 22:05

LOVE IT. It would be nice if you could add an option-"not scan on start"-, because its annoying to have to wait. Also-any graphics, sound support?

Reaction #6 

by Werner 24/07/2004 @ 15:19

Apologies!

I have to correct my first message.
Actually the program does *not* crash!
It just needs about 30 seconds to scan all my memos.
Meanwhile it only *seems* to have crashed - 30 seconds subjectively is quite a long time!

Werner
StartPrevious [ 1 2 3 ] NextEnd
 
Special !



Mobile version of
the aldweb Site

m.aldweb.com


Neither French, nor English?

Try one of these flags then:
[de] [es] [it] [pt]
Weather / Spam / www

Lyon Weather


aldweb against spam


Family's web sites

Friends News
Poll
What do you think of the new design of the aldweb Site?
 
Great !
Beautiful
Average
So ugly...
Results
^ Top ^