The Artima Developer Community
Sponsored Link

Weblogs Forum
Unimperative Reborn as a Concatenative Language

2 replies on 1 page. Most recent reply: Feb 14, 2006 4:58 PM by Christopher Diggins

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Christopher Diggins

Posts: 1215
Nickname: cdiggins
Registered: Feb, 2004

Unimperative Reborn as a Concatenative Language (View in Weblogs)
Posted: Feb 14, 2006 10:54 AM
Reply to this message Reply
Summary
My old programming language project, Unimperative, has been reborn as a "concatenative" programming language in the tradition of Joy.
Advertisement
Over a year ago I posted to my blog about the Unimperative programming language which was a Lisp/Scheme dialect and a subset of C++. I ran into some performance problems and shelved the program until recently. When I learned about the equivalence of concatenative and functional languages, I got very excited and redesigned Unimperative as a concatenative language. Unimperative still retains the property of being pure C++.

A concatenative language is one where every function has a single argument (a stack) and returns a single value (a new stack). This means that a concatenative language is also a pure functional language. Concatenative languages are very easy to implement and optimize, so I am hoping to reuse Unimperative as a target for Heron.

Development is still in its early stages, but an open-source Unimperative library for C++ is available at Unimperative.com. There is a mailing list at the site for anyone interested in helping out with the design and implementation of the language.


Jesse Williamson

Posts: 9
Nickname: chardan
Registered: Dec, 2005

Re: Unimperative Reborn as a Concatenative Language Posted: Feb 14, 2006 12:49 PM
Reply to this message Reply
Very interesting! So, Heron targets Unimperative. I should think that C++ will be able to do impressive optimization on such a language as Unimperative (given the nature that you describe), so it will be quite interesting to see what comes of this!

Christopher Diggins

Posts: 1215
Nickname: cdiggins
Registered: Feb, 2004

Re: Unimperative Reborn as a Concatenative Language Posted: Feb 14, 2006 4:58 PM
Reply to this message Reply
> Very interesting!

Thanks!

> So, Heron targets Unimperative.

Not yet, but hopefully someday.

Flat View: This topic has 2 replies on 1 page
Topic: Unimperative: A Lisp Dialect and a C++ Subset Previous Topic   Next Topic Topic: Attempting to Define Interface Oriented Programming Languages


Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2014 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us