Profile cover photo
Profile photo
Christer Swahn
32 followers
32 followers
About
Posts

Post has attachment
**
This blog has been moved to Github Pages. Please use this link: www.tuplex.org
Add a comment...

Post has attachment
A Consistent Type System Foundation
The type system is the cornerstone of a programming language. It is the essential enabler for how a program's sought behavior can be expressed and it is the chief controller preventing behavior that is unintended. Different languages emphasize these two rol...
Add a comment...

Post has attachment
The Compiler Passes
How many parser / compiler passes should be considered "many"? The Tuplex compiler has four. Or five. Or seven... What do we count? You could count the lexical and syntax parsing as two separate passes. Or just as two parts of a single one since they combin...
Add a comment...

Post has attachment

Post has attachment
On Uniformity of Syntax
One of the core philosophies behind Tuplex is to have a syntax that is as uniform and consistent as possible. This means that any semantic production should have the same syntax regardless of where it is placed. This has the benefits of: Regular grammar - e...
Add a comment...

Post has attachment
Quick Example
A reader might be curious about the syntax. This is a very short example program. Note that the ^ dereferencing operator will eventually be implicit. module my type AType<S> mod derives Tuple {     public memref : Ref<S>       ## Ref<S> can also be written ...
Add a comment...

Post has attachment
Spring Progress Update
How should one spend one's time... I've focused on implementation since january and have regretfully not posted any progress updates. This is what's been done since then: Symbol table rewrite - DONE Central compiler "driver" routine incl options handling - ...
Add a comment...

Post has attachment
Add a comment...

Post has attachment
Hello World
It's mandatory. This is what a hello world program currently looks like in Tuplex: func main() {   tx.c.puts("Hello, world!") }
Add a comment...

Post has attachment
Essential Language Features
Added a static page today called Essential Features . It attempts to describe on a single page what characterizes the Tuplex language, it's raison d'être so to speak. Not all of them will be properly supported in the initial versions, but most are well unde...
Add a comment...
Wait while more posts are being loaded