[deleted]

another forever programming language

my longterm goal for a programming language:

syntax: s-expression with optional identation of code to omit parenthesis. sort-of lisp meets python

semantics: pattern calculus + call-by-push-value

but alas to little time for now

Posted Jan 28, 2013, 7:53 AM UTC

510
erez27•

How about a short example?

5
cbrandolino•

I'd like to see that too. S-expressions + strong typing sounds weird.

1
_mhr_•

lisp is strongly typed.... you mean statically typed? Anyway, I'm pretty sure there're statically typed racket dialects.

2
oligomous•

Yes and there’s also Qi and Shen.

2
_mhr_•

Wow, I was making a language based on pi calculus, but that looks really, really interesting...maybe some sort of hybrid...? Hmmm thanks for posting. Damn, and I thought that the pi calculus was going to be The Next Big Thing, perhaps I'm wrong from what I've seen of the pattern calculus. I must admit, I'm tempted to abandon my project after seeing http://wwwusers.di.uniroma1.it/~gorla/papers/cpc-long.pdf. I went on a hunt for cool new paradigms/calculi for the past few months, and I came up with pi calculus, and you have the pattern calculus and call-by-push-value. ::Frustration::

This language that you're making...it's going to be so, so awesome. Fill us in on future development/implementations please! (if possible could I help out, it sounds like it'd be fun, even if I dunno what language you're planning on implementing it in)

2
rdkll•

thx for the kind words :)

i must admit i'm not that interested in concurrency. for now i'm set to implement sequential pattern calculus. but i guess this is my forever+1 project then :D

1
_mhr_•

I must admit that I get very enthusiastic very easily :). I'll do some work/thinking on/about concurrent pattern calculus, and maybe then we could compare ideas?

1
oligomous•

Speaking of syntax: I think this already exists. I remember researching it a while ago and finding something like that. Certainly its not hard to build something that will take syntax like you describe and emit normal s-expressions.

2
rdkll•

maybe implement identation as a macro anyway..

now i need a macro system ..

1
oligomous•

What? How could that be a macro? You have to write some string processing stuff. Start counting spaces and all that.

2