From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a05:620a:b03:: with SMTP id t3mr7121415qkg.317.1592042593041; Sat, 13 Jun 2020 03:03:13 -0700 (PDT) X-Received: by 2002:a9d:4c0a:: with SMTP id l10mr13255456otf.276.1592042592827; Sat, 13 Jun 2020 03:03:12 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 13 Jun 2020 03:03:12 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=2a02:1206:4548:aeb0:b05e:fe97:64f8:20ac; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG NNTP-Posting-Host: 2a02:1206:4548:aeb0:b05e:fe97:64f8:20ac References: <50711230-5b14-4278-b9d8-d197bbe3c93b@googlegroups.com> <9320040f-5486-4d1e-847d-f81b0a59fcfa@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <51cfeba9-7426-4477-936c-cb9364129f40o@googlegroups.com> Subject: Re: Ada++ From: gautier_niouzes@hotmail.com Injection-Date: Sat, 13 Jun 2020 10:03:13 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:59068 Date: 2020-06-13T03:03:12-07:00 List-Id: > It is not possible to do this in Ada. Well, it is, but it will > be very very cumbersome. > > Here are some very basic examples using Ruby, Perl and C++ > > https://www.12000.org/my_notes/here_document/index.htm > It is not possible to do this in Ada. Well, it is, but it will > be very very cumbersome. No, it's piece of cake! Just use the right editor :-) . > Here are some very basic examples using Ruby, Perl and C++ > > https://www.12000.org/my_notes/here_document/index.htm Done with LEA in a few mouse clicks and key strokes (lines truncated here because of the max columns of newsgroups). with HAC_Pack; use HAC_Pack; procedure Easy is begin Put_Line("\documentclass[12pt,titlepage]{article} _"); Put_Line("\begin{document} _"); Put_Line("\title{%(title)s} _"); Put_Line("\date{%(date)s} _"); Put_Line(" _"); Put_Line("The following in known equation $\sin^2(x)+\cos^2(x)=1$_"); Put_Line("is 100%(p)s correct. This was written on %(date)s and t_"); Put_Line("string ""I am a string"" and this is \n which is left a_"); Put_Line(" _"); Put_Line("\end{document} _"); end;