transput.a68.in "width" "fixed" but "no lowering routine" ?

Jose E. Marchesi jemarch@gnu.org
Sat Jan 17 10:21:41 GMT 2026


> Hello all, I am probably making a rookie mistake.
> It's mentioned in
> https://gcc.gnu.org/pipermail/algol68/2026-January/000871.html


You need to add an access Transput:


  access Transput
  begin
        int a := 5;
        puts((whole(a, 4)))
  end

Also I have to remove `fixed' and `whole' from parser-prelude in GCC.
Will do it today.




>
>> Also please see the existing transput.a68.in in the GCC source tree.  I
>> added it with the few formatting routines (whole, fixed, etc) so it can
>> be expanded with the full-fledged transput system.
>
> So, I merged the latest master, compiled and installed. In trying to
> compile a simple:
>
> begin
>    int a:=5;
>    puts((whole(a, 4)))
> end
>
> This error appears;
>
> testme.a68: In function ‘__algol68_main’:
> testme.a68:3:10: fatal error: no lowering routine installed for
> construct.  jemarch has been lazy
>     3 |    puts((whole(a, 4)))
>       |          ^
> compilation terminated.
>
> I had expected this to compile.  Not sure what has gone wrong.  Any insights?
>
> Thanks, James


More information about the Algol68 mailing list