comp.lang.ada
 help / color / mirror / Atom feed
* Ann: HAC v.0.1
@ 2022-05-14 12:35 Gautier write-only address
  2022-05-14 16:05 ` Doctor Who
  2022-05-15  0:14 ` Leo Brewin
  0 siblings, 2 replies; 6+ messages in thread
From: Gautier write-only address @ 2022-05-14 12:35 UTC (permalink / raw)


HAC (HAC Ada Compiler) is a quick, small, open-source Ada
compiler, covering a subset of the Ada language.
HAC is itself fully programmed in Ada.

Web site: http://hacadacompiler.sf.net/
From there, links to sources and an executable for Windows.

Source repositories:
  #1 svn: https://sf.net/p/hacadacompiler/code/HEAD/tree/trunk/
  #2 git: https://github.com/zertovitch/hac

* Main improvements since v.0.0996:

  - packages and subpackages are now supported
  - modularity: packages and subprograms can be standalone
      library units, stored in individual files with
      GNAT's naming convention, and accessed from other units
      via the WITH clause
  - validity checks were added for a better detection of
      uninitialized variables.

Package examples and modularity tests have been added.
Particularly, a new PDF producer package with a few demos
is located in the ./exm/pdf directory.

Enjoy!

Gautier
__
PS: for Windows, there is an integrated editor that embeds HAC:
LEA: http://l-e-a.sf.net
PPS: HAC will be shown at the Ada-Europe conference (presentation + tutorial)
http://www.ada-europe.org/conference2022/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Ann: HAC v.0.1
  2022-05-14 12:35 Ann: HAC v.0.1 Gautier write-only address
@ 2022-05-14 16:05 ` Doctor Who
  2022-05-15  5:24   ` Gautier write-only address
  2022-05-15  0:14 ` Leo Brewin
  1 sibling, 1 reply; 6+ messages in thread
From: Doctor Who @ 2022-05-14 16:05 UTC (permalink / raw)


On Sat, 14 May 2022 05:35:55 -0700 (PDT), Gautier write-only address
<gautier_niouzes@hotmail.com> wrote:

>HAC (HAC Ada Compiler) is a quick, small, open-source Ada
>compiler, covering a subset of the Ada language.
>HAC is itself fully programmed in Ada.
>
>Web site: http://hacadacompiler.sf.net/
>From there, links to sources and an executable for Windows.
>
>Source repositories:
>  #1 svn: https://sf.net/p/hacadacompiler/code/HEAD/tree/trunk/
>  #2 git: https://github.com/zertovitch/hac
>
>* Main improvements since v.0.0996:
>
>  - packages and subpackages are now supported
>  - modularity: packages and subprograms can be standalone
>      library units, stored in individual files with
>      GNAT's naming convention, and accessed from other units
>      via the WITH clause
>  - validity checks were added for a better detection of
>      uninitialized variables.
>
>Package examples and modularity tests have been added.
>Particularly, a new PDF producer package with a few demos
>is located in the ./exm/pdf directory.
>
>Enjoy!
>
>Gautier
>__
>PS: for Windows, there is an integrated editor that embeds HAC:
>LEA: http://l-e-a.sf.net
>PPS: HAC will be shown at the Ada-Europe conference (presentation + tutorial)
>http://www.ada-europe.org/conference2022/

which subset of the Ada language is covered?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Ann: HAC v.0.1
  2022-05-14 12:35 Ann: HAC v.0.1 Gautier write-only address
  2022-05-14 16:05 ` Doctor Who
@ 2022-05-15  0:14 ` Leo Brewin
  2022-05-15  1:39   ` Bill Findlay
  1 sibling, 1 reply; 6+ messages in thread
From: Leo Brewin @ 2022-05-15  0:14 UTC (permalink / raw)


On 14/5/2022 10:35 pm, Gautier write-only address wrote:
>    #2 git: https://github.com/zertovitch/hac

I just tested this on MacOS Monterey 12.3.1 and it works perfectly out 
of the box (as expected for Ada code :).

Great work Gautier!

Cheers,
Leo

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Ann: HAC v.0.1
  2022-05-15  0:14 ` Leo Brewin
@ 2022-05-15  1:39   ` Bill Findlay
  0 siblings, 0 replies; 6+ messages in thread
From: Bill Findlay @ 2022-05-15  1:39 UTC (permalink / raw)


On 15 May 2022, Leo Brewin wrote
(in article<2eb00f14-a9bb-e8fe-b29c-9cbddb6589f9@monash.edu>):

> On 14/5/2022 10:35 pm, Gautier write-only address wrote:
> > #2 git: https://github.com/zertovitch/hac
>
> I just tested this on MacOS Monterey 12.3.1 and it works perfectly out
> of the box (as expected for Ada code :)

You beat me to it by an hour!
> Great work Gautier!

Ditto.

-- 
Bill Findlay


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Ann: HAC v.0.1
  2022-05-14 16:05 ` Doctor Who
@ 2022-05-15  5:24   ` Gautier write-only address
  2022-05-15  6:54     ` Doctor Who
  0 siblings, 1 reply; 6+ messages in thread
From: Gautier write-only address @ 2022-05-15  5:24 UTC (permalink / raw)


Doctor Who:
> which subset of the Ada language is covered?

Quoting from ./doc/hac.txt (section "Language subset"):
"The available Ada language subset supported by HAC is so far, roughly,
  the "Pascal subset", plus tasking, plus packages, less pointers.
  From a different perspective, HAC supports Ada 83, less pointers, less generics,
  less unconstrained types, plus a few items from Ada 95 and 2005.
  Recursion and nested subprograms are supported."
and: "Tasks are implemented, but not working yet."

HTH

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Ann: HAC v.0.1
  2022-05-15  5:24   ` Gautier write-only address
@ 2022-05-15  6:54     ` Doctor Who
  0 siblings, 0 replies; 6+ messages in thread
From: Doctor Who @ 2022-05-15  6:54 UTC (permalink / raw)


On Sat, 14 May 2022 22:24:04 -0700 (PDT), Gautier write-only address
<gautier_niouzes@hotmail.com> wrote:

>Doctor Who:
>> which subset of the Ada language is covered?
>
>Quoting from ./doc/hac.txt (section "Language subset"):
>"The available Ada language subset supported by HAC is so far, roughly,
>  the "Pascal subset", plus tasking, plus packages, less pointers.
>  From a different perspective, HAC supports Ada 83, less pointers, less generics,
>  less unconstrained types, plus a few items from Ada 95 and 2005.
>  Recursion and nested subprograms are supported."
>and: "Tasks are implemented, but not working yet."
>
>HTH

thank you.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-05-15  6:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-14 12:35 Ann: HAC v.0.1 Gautier write-only address
2022-05-14 16:05 ` Doctor Who
2022-05-15  5:24   ` Gautier write-only address
2022-05-15  6:54     ` Doctor Who
2022-05-15  0:14 ` Leo Brewin
2022-05-15  1:39   ` Bill Findlay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox