On Apr 20, 10:05 pm, mattschinkel <[email protected]> wrote:
>
> It does give me some output on the screen, but it does not output
> files
>
Hi Matt,
I tried it here on my Windows laptop- seems to work fine. I cheated
though. I looked at the batch file and the perl script, and then did
the following steps manually in a 'dos box' / command prompt.
I created a little JAL test file, named a.jal
then I compiled it:
./jalparser.exe a.jal >a.c # note the output goes to
stdout (temporarily), so you have to 'redirect' the output to save it
in a.c
then I manually edited a.c and deleted all of the lines down to
"include stdio.h"
then I typed:
cc -o a a.c
then just do:
./a.exe # to run the program
the printf statement is (temporarily) the only way to look at your jal
variables.
put it in your jal code like so:
;@j2c printf("%d %d %d\n", a, b, c) ;
it is a bit cryptic for now, but soon we will have format.jal and
print.jal libraries available. :-)
William
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en.