The MASM Forum Archive 2004 to 2012

Project Support Forums => GoAsm Assembler and Tools => Topic started by: Bracx on December 29, 2005, 10:25:56 PM

Title: GoAsm with ML/I
Post by: Bracx on December 29, 2005, 10:25:56 PM
Hello,

I started to use a new macro processor ML/I with GoAsm.  For a tool
written in 1966 it seems to be very nice and powerful.  It is
language independent, so can be used with multiple types of projects
and text processing tasks.  The below web page says it is superior to the
M4 macro processor.  It is very free-format, meaning you define your
own delimiters which can be defined over multiple lines allowing easy
creation of higher level macro constructs. Also its very easy to define
higher order macros or macros that create other macros. Nice for
defining named local variables and such.  It takes a little while to get
used to. I recommend reading the manual once through before using
and then as a reference. 

For those who are interested and use macros. The links are below.
http://members.shaw.ca/parz/ML1.html
http://www.ml1.org.uk/index.html

Back to coding!  :8)
Title: Re: GoAsm with ML/I
Post by: bushpilot on January 01, 2006, 12:27:24 AM
How about a couple of examples of how it is used in your case?

Greg
Title: Re: GoAsm with ML/I
Post by: Bracx on January 05, 2006, 02:01:59 PM
Hi Greg, I'll write up a example and post something here within a couple of days.
Time permitting :)
Title: Re: GoAsm with ML/I
Post by: Bracx on January 08, 2006, 10:16:14 PM
Here is a example program using ML/I with GoAsm and groff.

The below attachment requires the allegro graphics library to run:  alleg42.dll
This file was too large to include with the attachment ~700 kb stripped. You
can download the alleg42.dll from here:

http://www.gamedev.org/yabbse/index.php?board=12;action=display;threadid=3083

or build it yourself with mingw32 from here:

http://www.talula.demon.co.uk/allegro/

Here is the demo:


[attachment deleted by admin]