gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exceptions handling docs


From: Alexey Ulasevich
Subject: Re: exceptions handling docs
Date: Fri, 1 Nov 2024 09:30:55 +0300
User-agent: Mozilla Thunderbird

Thanks.

I download and compile gm2 by using steps from https://lists.nongnu.org/archive/html/gm2/2024-08/msg00015.html

And I cannot find "testsuite" folder here. Why?

Aleksey

01.11.2024 07:22, Gaius Mulley пишет:
Alexey Ulasevich <alexey.ulasevich@gmail.com> writes:

Hi,

Where I can find more information about exceptions handling in GM2? I
mean documentation, examples etc.


Thanks,

Aleksey
Hi Aleksey,

at present there isn't a section in the gm2 documenation about
exception usage.  I'll submit a PR requesting one though.

However there are a number of test programs in the testsuite which
contain interesting uses of execeptions:

Inside the GCC source tree:

   (nested NIL and division by 0 exceptions)
   gcc/testsuite/gm2/iso/run/pass/except8.mod

   and also reduced cases in similar filenames:
   gcc/testsuite/gm2/iso/run/pass/except?.mod

   m2 exceptions and C++:

   gcc/testsuite/gm2/exceptions/run/pass/*

regards,
Gaius



reply via email to

[Prev in Thread] Current Thread [Next in Thread]