Carl Mäsak

Results 229 issues of Carl Mäsak

Just noticed that [this test](https://github.com/masak/alma/blob/ae49b69eac1d787452197ee904da4b3d97ceb2f9/t/features/custom/ops.t#L5-L15) doesn't test the right thing. ``` { my $program = q:to/./; func infix:(left, right) { return 20; } say(4 * 5); . outputs $program, "20\n",...

low-hanging fruit
good first issue

In case somebody sets us up it. I was surprised I apparently have no handling of the BOM in the parser — it's still something that could happen to unwary...

À la many Lisps and Smalltalk. There are many aspects to this, but here's one thing I'd expect would work, by Least Surprise: ``` my three: Real = 3; ```...

new feature

The thing I talk about in [this old blog post](http://strangelyconsistent.org/blog/macros-nesting-macros). I talked with jnthn about it yesterday, without remembering much of the blog post. Like the blog post points out,...

new feature

Starting from the languages listed in https://en.wikipedia.org/wiki/Macro_(computer_science)#Syntactic_macros, make a table with the languages on the rows and capabilities on the columns. After the table, also summarize each language in prose,...

documentation

So I was reading [Oleg's latest about session types](http://okmij.org/ftp/Computation/types.html#sessions), and I realized a couple of things. One was that I still really haven't dug into MetaOCaml, and... I really should....

Picture a `Q::Statement::Yield`, working pretty much like a `return` statement. Now we have a source transformation that takes a function with a `yield` statement in them, and [CPS transform](https://en.wikipedia.org/wiki/Continuation-passing_style) the...

examples
new feature

There's [a paper](https://www.cs.utah.edu/plt/publications/popl16-f.pdf), [a talk](https://www.youtube.com/watch?v=Or_yKiI3Ha4), and [a GitHub repository with lots of branches](https://github.com/mflatt/expander), and [an extended version of the paper, as a Scribble documentation page](https://www.cs.utah.edu/plt/scope-sets/), and (edit) [a seminar/course](https://www.youtube.com/watch?v=OmA6oTxWMBs). Let's...

There's a risk that when we've implemented modules — that is, being able to import a file from another through the `import` statement — there's a whole part missing in...

new feature

Eight operators in total: `ff ff^ ^ff ^ff^ fff fff^ ^fff ^fff^`. I dunno why we haven't done these long ago. They are the *perfect* poster child for macros. As...

macro idea