You need to turn on Upper case keywords. This is done by using the -I
option on
the command line or / $I / within the body of the program.
When I was in college the University had a Xerox Sigma 6. I worked on the
XPL
complier that ran on that system. In fact that is how I got interested in
compiler writing.
If you send me the compiler source I will get it running for you.
Please send it to shoefoot@gmail.com
I suspect the dot(.) is a translation error. It probably should be an
underscore(_).
The pound sign(#) is a valid alphabetic character.
I do not recommend changing the XPL compiler I have on SourceForge. The
code
is hard to follow and impossible to maintain. It's most redeeming value is
that it has
documentation.
Dan Weaver
On Tue, 18 Mar 2025 03:09:01 -0000 "kenr" wrote:
I have an XPL XCOM compiler for the Sigma 7 / GORDO OS from 1968 -74 I'd like to get this this to run. I have your XPL C package and I intend to compile my XCOM with it to obtain Sigma code.
The first statement is DECLARE #.TERMINALS LITERALLY '44', Which gives the error XPL to C language translator -- version 1.2
1 | DECLARE #.TERMINALS LITERALLY '44', |
|
*** Error, Illegal symbol pair: <identifier> <identifier> (detected at line 6448 in xcom). ***
Partial parse to this point is: <statement list=""> <identifier>
1 | DECLARE #.TERMINALS LITERALLY '44', |
|
*** Error, Illegal character: 2e (detected at line 1423 in xcom). ***
*** Last previous error was detected on line 1. ***</identifier></statement></identifier></identifier>
Is it true that ketwords like declare and literally must be lower case?
And, not surprisingly the dot character . cannot be used in an identifier?
Do you think I should modify the XPL C, or my several 1000 lines of all upper case code.
I got in a wad before looking at the options. So, I deleted my foolish post.
Thanks for providing this. Its going to help me a lot.
Last edit: kenr 2025-03-18
Hello Ken,
You need to turn on Upper case keywords. This is done by using the -I
option on
the command line or / $I / within the body of the program.
When I was in college the University had a Xerox Sigma 6. I worked on the
XPL
complier that ran on that system. In fact that is how I got interested in
compiler writing.
If you send me the compiler source I will get it running for you.
Please send it to shoefoot@gmail.com
I suspect the dot(.) is a translation error. It probably should be an
underscore(_).
The pound sign(#) is a valid alphabetic character.
I do not recommend changing the XPL compiler I have on SourceForge. The
code
is hard to follow and impossible to maintain. It's most redeeming value is
that it has
documentation.
Dan Weaver
On Tue, 18 Mar 2025 03:09:01 -0000 "kenr" wrote: