* Need manual for GNAT on FreeBSD 4.4-Release on i386 (AMD Athlon)
@ 2002-01-02 3:01 Matthew Graybosch
2002-01-02 3:27 ` Gerhard Häring
2002-01-02 3:31 ` Gerhard Häring
0 siblings, 2 replies; 8+ messages in thread
From: Matthew Graybosch @ 2002-01-02 3:01 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 754 bytes --]
I've been comparing languages for Linux/BSD programming and settled on Ada.
I installed the FreeBSD 4.4 port of GNAT, as well as the ada-mode packages
for XEmacs 21.1. I've been working through the Lovelace tutorial and trying
to build some of the examples.
I get as far as invoking "gnatmake -c compute.adb" from XEmacs, which places
the following files in ~/src/ada: "compute.ali" and "compute.o".
I'd like to be able to run my Ada code, but I haven't been able to find a
manual for GNAT on FreeBSD. gnatmake doesn't have a man page, and Google
hasn't turned up anything useful. If anybody can point me in the right
direction, I'd appreciate it.
--
Matthew Graybosch
http://www.starbreaker.net
GnuPG Key ID: 0x45BC4581
"Sex, Unix, and rock 'n roll"
[-- Attachment #2: Type: application/pgp-signature, Size: 187 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Need manual for GNAT on FreeBSD 4.4-Release on i386 (AMD Athlon)
2002-01-02 3:01 Need manual for GNAT on FreeBSD 4.4-Release on i386 (AMD Athlon) Matthew Graybosch
@ 2002-01-02 3:27 ` Gerhard Häring
2002-01-02 3:31 ` Gerhard Häring
1 sibling, 0 replies; 8+ messages in thread
From: Gerhard Häring @ 2002-01-02 3:27 UTC (permalink / raw)
Matthew Graybosch schrieb:
> I've been comparing languages for Linux/BSD programming and settled on Ada.
> I installed the FreeBSD 4.4 port of GNAT,
Excellent choice, both language and OS :-)
> as well as the ada-mode packages
> for XEmacs 21.1. I've been working through the Lovelace tutorial and trying
> to build some of the examples.
>
> I get as far as invoking "gnatmake -c compute.adb" from XEmacs, which places
> the following files in ~/src/ada: "compute.ali" and "compute.o".
>
> I'd like to be able to run my Ada code, but I haven't been able to find a
> manual for GNAT on FreeBSD.
Looks like the GNAT docs haven't been packaged, yet. I'll file a problem
report for it.
The file you're looking for is here:
ftp://ftp.cs.nyu.edu/pub/gnat/3.13p/gnat-3.13p-docs.tar.gz
Just unpack it anywhere you like.
Btw. "gnatmake someprogram.adb" compiles the program to an executable
called "someprogram". "gnatmake -c" only creates an object file.
Gerhard
--
mail: gerhard <at> bigfoot <dot> de registered Linux user #64239
web: http://www.cs.fhm.edu/~ifw00065/ OpenPGP public key id 86AB43C0
public key fingerprint: DEC1 1D02 5743 1159 CD20 A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))
Newsgroups: comp.lang.ada
From: Gerhard Hï¿œring <gerhard@bigfoot.de>
Subject: Re: Need manual for GNAT on FreeBSD 4.4-Release on i386 (AMD Athlon)
References: <20020101220112.4bd5727d.matthew@starbreaker.net>
Followup-To:
Matthew Graybosch schrieb:
> I've been comparing languages for Linux/BSD programming and settled on Ada.
> I installed the FreeBSD 4.4 port of GNAT,
Excellent choice, both language and OS :-)
> as well as the ada-mode packages
> for XEmacs 21.1. I've been working through the Lovelace tutorial and trying
> to build some of the examples.
>
> I get as far as invoking "gnatmake -c compute.adb" from XEmacs, which places
> the following files in ~/src/ada: "compute.ali" and "compute.o".
>
> I'd like to be able to run my Ada code, but I haven't been able to find a
> manual for GNAT on FreeBSD.
Looks like the GNAT docs haven't been packaged, yet. I'll file a problem
report for it.
The file you're looking for is here:
ftp://ftp.cs.nyu.edu/pub/gnat/3.13p/gnat-3.13p-docs.tar.gz
Just unpack it anywhere you like.
Btw. "gnatmake someprogram.adb" compiles the program to an executable
called "someprogram". "gnatmake -c" only creates an object file.
Gerhard
--
mail: gerhard <at> bigfoot <dot> de registered Linux user #64239
web: http://www.cs.fhm.edu/~ifw00065/ OpenPGP public key id 86AB43C0
public key fingerprint: DEC1 1D02 5743 1159 CD20 A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Need manual for GNAT on FreeBSD 4.4-Release on i386 (AMD Athlon)
2002-01-02 3:01 Need manual for GNAT on FreeBSD 4.4-Release on i386 (AMD Athlon) Matthew Graybosch
2002-01-02 3:27 ` Gerhard Häring
@ 2002-01-02 3:31 ` Gerhard Häring
2002-01-02 3:58 ` Matthew Graybosch
1 sibling, 1 reply; 8+ messages in thread
From: Gerhard Häring @ 2002-01-02 3:31 UTC (permalink / raw)
Matthew Graybosch schrieb:
> I've been comparing languages for Linux/BSD programming and settled on Ada.
> I installed the FreeBSD 4.4 port of GNAT,
Excellent choice, both language and OS :-)
> as well as the ada-mode packages
> for XEmacs 21.1. I've been working through the Lovelace tutorial and trying
> to build some of the examples.
>
> I get as far as invoking "gnatmake -c compute.adb" from XEmacs, which places
> the following files in ~/src/ada: "compute.ali" and "compute.o".
>
> I'd like to be able to run my Ada code, but I haven't been able to find a
> manual for GNAT on FreeBSD.
Looks like the GNAT docs haven't been packaged, yet. I'll file a problem
report for it.
The file you're looking for is here:
ftp://ftp.cs.nyu.edu/pub/gnat/3.13p/gnat-3.13p-docs.tar.gz
Just unpack it anywhere you like.
Btw. "gnatmake someprogram.adb" compiles the program to an executable
called "someprogram". "gnatmake -c" only creates an object file.
Gerhard
--
mail: gerhard <at> bigfoot <dot> de registered Linux user #64239
web: http://www.cs.fhm.edu/~ifw00065/ OpenPGP public key id 86AB43C0
public key fingerprint: DEC1 1D02 5743 1159 CD20 A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Need manual for GNAT on FreeBSD 4.4-Release on i386 (AMD Athlon)
2002-01-02 3:31 ` Gerhard Häring
@ 2002-01-02 3:58 ` Matthew Graybosch
2002-01-02 4:10 ` Gerhard Häring
0 siblings, 1 reply; 8+ messages in thread
From: Matthew Graybosch @ 2002-01-02 3:58 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 1296 bytes --]
On 2 Jan 2002 03:31:28 GMT
Gerhard H�ring <gerhard@bigfoot.de> wrote:
> Matthew Graybosch schrieb:
> > I've been comparing languages for Linux/BSD programming and settled on
> > Ada. I installed the FreeBSD 4.4 port of GNAT,
>
> Excellent choice, both language and OS :-)
Thanks. I figure that it's bad enough that I have to work on Windows (using
Visual Basic, no less). I'd have to insane to want to deal with Windows at
home. Besides, I like Unix.
> Looks like the GNAT docs haven't been packaged, yet. I'll file a problem
> report for it.
I wonder if I should send a message to the port maintainer as well... I'll
do it if he forgets the docs in the next version.
> The file you're looking for is here:
>
> ftp://ftp.cs.nyu.edu/pub/gnat/3.13p/gnat-3.13p-docs.tar.gz
>
> Just unpack it anywhere you like.
It's in the pipe now. Thanks.
> Btw. "gnatmake someprogram.adb" compiles the program to an executable
> called "someprogram". "gnatmake -c" only creates an object file.
*smacks forehead* So *that's* where I fouled up. I thought I had to manually
invoke gnatbind and gnatlink on the *.ali file. Thanks again.
Hey, the last line in your sig is LISP code, isn't it?
--
Matthew Graybosch
http://www.starbreaker.net
GnuPG Key ID: 0x45BC4581
"Sex, Unix, and rock 'n roll"
[-- Attachment #2: Type: application/pgp-signature, Size: 187 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Need manual for GNAT on FreeBSD 4.4-Release on i386 (AMD Athlon)
2002-01-02 3:58 ` Matthew Graybosch
@ 2002-01-02 4:10 ` Gerhard Häring
2002-01-02 15:05 ` Ted Dennison
2002-01-02 23:57 ` Need manual for GNAT on FreeBSD 4.4-Release on i386 (AMD Athlon) Matthew Graybosch
0 siblings, 2 replies; 8+ messages in thread
From: Gerhard Häring @ 2002-01-02 4:10 UTC (permalink / raw)
Matthew Graybosch wrote:
> On 2 Jan 2002 03:31:28 GMT
> Gerhard Hï¿œring <gerhard@bigfoot.de> wrote:
>
> > Matthew Graybosch schrieb:
> > > I've been comparing languages for Linux/BSD programming and settled on
> > > Ada. I installed the FreeBSD 4.4 port of GNAT,
> >
> > Excellent choice, both language and OS :-)
>
> Thanks. I figure that it's bad enough that I have to work on Windows (using
> Visual Basic, no less). I'd have to insane to want to deal with Windows at
> home. Besides, I like Unix.
VB6? Condolecences. I had that once. I wonder what all the VB shops will do
when they get a half-way real programming language with VB.NET. Now I'm mostly
doing Java. And for fun at home, Python.
> > Looks like the GNAT docs haven't been packaged, yet. I'll file a problem
> > report for it.
Done: http://www.freebsd.org/cgi/query-pr.cgi?pr=33459
> I wonder if I should send a message to the port maintainer as well... I'll
> do it if he forgets the docs in the next version.
Can't hurt.
> [...]
> Hey, the last line in your sig is LISP code, isn't it?
Close, but not quite. Abusing Python's functional features:
Python 2.1.1 (#1, Sep 13 2001, 18:12:15)
[GCC 2.95.3 20010315 (release) [FreeBSD]] on freebsd4
Type "copyright", "credits" or "license" for more information.
>>> reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))
'Python rules!'
Gerhard
--
mail: gerhard <at> bigfoot <dot> de registered Linux user #64239
web: http://www.cs.fhm.edu/~ifw00065/ public key at homepage
public key fingerprint: DEC1 1D02 5743 1159 CD20 A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Need manual for GNAT on FreeBSD 4.4-Release on i386 (AMD Athlon)
2002-01-02 4:10 ` Gerhard Häring
@ 2002-01-02 15:05 ` Ted Dennison
2002-01-02 17:10 ` [OT] Obfuscated Python Gerhard Häring
2002-01-02 23:57 ` Need manual for GNAT on FreeBSD 4.4-Release on i386 (AMD Athlon) Matthew Graybosch
1 sibling, 1 reply; 8+ messages in thread
From: Ted Dennison @ 2002-01-02 15:05 UTC (permalink / raw)
In article <slrna351vj.5m2.gerhard@gargamel.hqd-internal>, Gerhard
=?iso-8859-15?Q?H=E4ring?= says...
>
>Matthew Graybosch wrote:
>> Hey, the last line in your sig is LISP code, isn't it?
>
>Close, but not quite. Abusing Python's functional features:
>
>reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))
That makes sense. It starts off looking like Lisp that might be readable given
good knolwedge of the language and a bit more white space, but it ends up
looking like line noise.
---
T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html
No trees were killed in the sending of this message.
However a large number of electrons were terribly inconvenienced.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [OT] Obfuscated Python
2002-01-02 15:05 ` Ted Dennison
@ 2002-01-02 17:10 ` Gerhard Häring
0 siblings, 0 replies; 8+ messages in thread
From: Gerhard Häring @ 2002-01-02 17:10 UTC (permalink / raw)
Ted Dennison schrieb im Artikel <xkFY7.553$cD4.485@www.newsranger.com>:
> In article <slrna351vj.5m2.gerhard@gargamel.hqd-internal>, Gerhard
> =?iso-8859-15?Q?H=E4ring?= says...
> >
> >Matthew Graybosch wrote:
> >> Hey, the last line in your sig is LISP code, isn't it?
> >
> >Close, but not quite. Abusing Python's functional features:
> >
> >reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))
>
> That makes sense. It starts off looking like Lisp that might be readable given
> good knolwedge of the language and a bit more white space, but it ends up
> looking like line noise.
If one really wants to write this as a one-liner in Python, it's
probably best written using Haskell-like list comprehensions:
''.join([chr(ord(x)^42) for x in tuple('zS^BED\nXEIAY\x0b')])
which is pretty idiomatic Python.
I'll cite Fredrik Lundh's insights on (over)using lambdas:
here's the eff-bot's favourite lambda refactoring rule:
1) write a lambda function
2) write a comment explaining what the heck that lambda does
3) study the comment for a while, and think of a name that captures
the essence of the comment
4) convert the lambda to a def statement, using that name
5) remove the comment
-- Fredrik Lundh, 01 Apr 2001
Gerhard
--
mail: gerhard <at> bigfoot <dot> de registered Linux user #64239
web: http://www.cs.fhm.edu/~ifw00065/ OpenPGP public key id 86AB43C0
public key fingerprint: DEC1 1D02 5743 1159 CD20 A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Need manual for GNAT on FreeBSD 4.4-Release on i386 (AMD Athlon)
2002-01-02 4:10 ` Gerhard Häring
2002-01-02 15:05 ` Ted Dennison
@ 2002-01-02 23:57 ` Matthew Graybosch
1 sibling, 0 replies; 8+ messages in thread
From: Matthew Graybosch @ 2002-01-02 23:57 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 1066 bytes --]
On 2 Jan 2002 04:10:56 GMT
Gerhard H�ring <gerhard@bigfoot.de> wrote:
> VB6? Condolecences. I had that once. I wonder what all the VB shops will
> do when they get a half-way real programming language with VB.NET. Now I'm
> mostly doing Java. And for fun at home, Python.
Chances are, a lot of people are going to soil their pants. As it is, I've
been reading up on it myself -- it seems fitting to use a toy language like
VB for a toy OS like Windows. I suppose I shouldn't complain too much; it
*does* pay the bills, and it's not like the boss insists that I run XP at
home.
Besides, I tried C++ under Windows and had nightmares for a month.
> Close, but not quite. Abusing Python's functional features:
Ah. It looked like LISP because I've been learning a bit of elisp so I can
play with XEmacs a bit. For scripting I've been learning to read Perl. I
might not hack Perl much, but if I'm going to use Unix I should at least
know how to read the stuff.
--
Matthew Graybosch
http://www.starbreaker.net
GnuPG Key ID: 0x45BC4581
"Sex, Unix, and rock 'n roll"
[-- Attachment #2: Type: application/pgp-signature, Size: 187 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2002-01-02 23:57 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-02 3:01 Need manual for GNAT on FreeBSD 4.4-Release on i386 (AMD Athlon) Matthew Graybosch
2002-01-02 3:27 ` Gerhard Häring
2002-01-02 3:31 ` Gerhard Häring
2002-01-02 3:58 ` Matthew Graybosch
2002-01-02 4:10 ` Gerhard Häring
2002-01-02 15:05 ` Ted Dennison
2002-01-02 17:10 ` [OT] Obfuscated Python Gerhard Häring
2002-01-02 23:57 ` Need manual for GNAT on FreeBSD 4.4-Release on i386 (AMD Athlon) Matthew Graybosch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox