Monthly Archives: January 2020

Little portfolio update

So, the market is continuing to decline on the back of the Coronavirus. It started in China. I’m keeping my eye on JMC (JPMorgan Chinese Investment Trust), which is down 3.8% to 329p today. It reached a peak of 378p … Continue reading

Posted in Uncategorized | Leave a comment

Exploring metalangs: #racketlang vs Logo

Inspired by Schorre’s Metta II, I’m exploring the idea of writing a metacompiler. DrRacket should be top notch for this, but it’s proving to be frustrating. One question is: should the grammar description be a “procedure” (i.e. a normal define), … Continue reading

Posted in Uncategorized | Leave a comment

I became a #perl 5 programmer by mistake

I always liked the line from the 1987 UK black comedy film Withnail and I: “We’ve gone on holiday by mistake.” I wanted to recycle it. Keen readers of this blog (of which there are none) will know that I … Continue reading

Posted in Uncategorized | 4 Comments

A recursive descent parser in #forthlang (and a nod to #rakulang)

I was reading through Schorre’s paper on Metta II again (see also the Wikipedia article).  For those that don’t know, Meta II is a metacompiler, which is to say, a language that can compile itself. It can’t, of course, be … Continue reading

Posted in Uncategorized | 3 Comments

An esoteric #forthlang

I say Ulrich Hoffman’s talk on PreForth and seedForth the other day. Although I don’t understand much in the way of the details, the basic idea is to create a bootstrapping Forth. This gave me the idea of creating a … Continue reading

Posted in Uncategorized | Leave a comment

Quickie: #rakulang vs #nim vs #rust vs #cpplang

I basically consider myself a C++ programmer, having decided to “standardise” on it a few years ago. I am a fan of Python, too. I tried Rust, but in the end couldn’t see the point. Rust’s big idea is immutability. … Continue reading

Posted in Uncategorized | 1 Comment

MKS drops 11%

M&S dropped 11% today on the back of its trading statement. LFL were up 0.2%. The RNS states “Trading reflects ongoing progress of transformation strategy.” I guess 0.2% constitutes progress, then. Gross margins are “expected to be around the lower … Continue reading

Posted in Uncategorized | Leave a comment

CARD drops 29%

Wow, this one really took a massive dump. On the carpet. In front of the vicar. I hold this share. It was my biggest faller in my portfolio, and it just got worse. I’m nursing a 50% loss on this. … Continue reading

Posted in Uncategorized | Leave a comment

“Beautiful” recursive descent grammars using C++ short-circuits

I am author of ‘neoleo’, a curses spreadsheet forked from the abandoned GNU oleo project. One thing I’m doing is rewriting the parsing of spreadsheet formulas using recursive descent parsing instead of yacc/lex. Recursive descent parsing traditionally looks like a … Continue reading

Posted in Uncategorized | Leave a comment

The death of Value

Earlier this year (OK, yesterday) I mentioned Paul Scott’s comment about him seeing good value in small caps, assuming I haven’t misremembered what he said. By coincidence, I came across an article by StarCapital from Nov 2019 on “The presumed … Continue reading

Posted in Uncategorized | 1 Comment