Re: NEW: lang/snobol4

2017-11-06 Thread Laurence Tratt
On Sun, Nov 05, 2017 at 12:20:48PM -0500, Brian Callahan wrote:

Hello Brian,

> But the website says that Icon bears little superficial resemblance to
> SNOBOL4, which I take to mean you can't take snobol code and run it through
> icon, which is what is needed :(

As you've probably realised, SNOBOL and Icon (largely) come from the same
brain, but with a different intended outcome. Icon was meant to be more like
a "normal" programming language than SNOBOL, albeit Icon has backtracking
(what Icon calls "goal-directed evaluation"). If I had to give a rough
analogy, SNOBOL is sort-of Awk-ish, whereas Icon is an Algol derivative. As
that might suggest, the two languages have a really different notion of
control flow, which means that it would be hard to do a good job of
translating between the two.

Summary: if you want to run SNOBOL code, I doubt you have any alternative to
a SNOBOL interpreter/compiler :/ I'm glad to see a SNOBOL system submitted
to ports!

[This brings back memories for me. Many moons ago, I created a language
which integrated in Icon's expression evaluation ideas [1]. I learnt a lot!]


Laurie

[1] 
http://tratt.net/laurie/research/pubs/html/tratt__experiences_with_an_icon_like_expression_evaluation_system/



Re: NEW: lang/snobol4

2017-11-05 Thread Brian Callahan


On 11/05/17 04:18, Marc Espie wrote:

On Sat, Nov 04, 2017 at 09:11:02PM -0400, Brian Callahan wrote:

Hi ports --

Attached is a new port, lang/snobol4, the CSNOBOL4 suite including
interpreter, debugger and utilities.

---
pkg/DESCR:
CSNOBOL4 is a free port of the original SIL (SNOBOL4 Implementation
Language) "macro" version of SNOBOL4 (developed at Bell Labs) with the
`C' language as a target.

SNOBOL4, while known primarily as a string language excels at any task
involving symbolic manipulations. It provides dynamic typing, garbage
collection, user data types, and on the fly compilation.

CSNOBOL4 supports the full SNOBOL4 language plus BLOCKS and SPITBOL and
other extensions.
---

This port is a joint work between myself and STeve Andre', who takes
MAINTAINER.

OK?

In case people don't know, snobol is one of the ancestors of Icon.

If you like snobol, you *should* look at Icon, probably.



I did not know about Icon, and am glad to know about it. Thanks! I will 
definitely look into it (I see you maintain the port of it).


But the website says that Icon bears little superficial resemblance to 
SNOBOL4, which I take to mean you can't take snobol code and run it 
through icon, which is what is needed :(


~Brian



Re: NEW: lang/snobol4

2017-11-05 Thread Marc Espie
On Sat, Nov 04, 2017 at 09:11:02PM -0400, Brian Callahan wrote:
> Hi ports --
> 
> Attached is a new port, lang/snobol4, the CSNOBOL4 suite including
> interpreter, debugger and utilities.
> 
> ---
> pkg/DESCR:
> CSNOBOL4 is a free port of the original SIL (SNOBOL4 Implementation
> Language) "macro" version of SNOBOL4 (developed at Bell Labs) with the
> `C' language as a target.
> 
> SNOBOL4, while known primarily as a string language excels at any task
> involving symbolic manipulations. It provides dynamic typing, garbage
> collection, user data types, and on the fly compilation.
> 
> CSNOBOL4 supports the full SNOBOL4 language plus BLOCKS and SPITBOL and
> other extensions.
> ---
> 
> This port is a joint work between myself and STeve Andre', who takes
> MAINTAINER.
> 
> OK?

In case people don't know, snobol is one of the ancestors of Icon.

If you like snobol, you *should* look at Icon, probably.



NEW: lang/snobol4

2017-11-04 Thread Brian Callahan

Hi ports --

Attached is a new port, lang/snobol4, the CSNOBOL4 suite including 
interpreter, debugger and utilities.


---
pkg/DESCR:
CSNOBOL4 is a free port of the original SIL (SNOBOL4 Implementation
Language) "macro" version of SNOBOL4 (developed at Bell Labs) with the
`C' language as a target.

SNOBOL4, while known primarily as a string language excels at any task
involving symbolic manipulations. It provides dynamic typing, garbage
collection, user data types, and on the fly compilation.

CSNOBOL4 supports the full SNOBOL4 language plus BLOCKS and SPITBOL and
other extensions.
---

This port is a joint work between myself and STeve Andre', who takes 
MAINTAINER.


OK?

~Brian



snobol4.tgz
Description: Binary data