Ye Olde Ramblings

Current topic is the development of a toy language to test a few syntax ideas.
237 comments
1 followers
359 entries
Advertisement
Telastyn
September 20, 2008
Slow week.
Not much to report this week. The explicit identifier stuff took a lot of energy and was followed up by hectic real work. Plus I'm at a point where pretty much all of the experimental sort of Tangent features are implemented, leaving the relatively mundane tasks (implementing generic declarations, …
264 views
Telastyn
September 12, 2008
Tangent: Phrases
Hah! I finally got around to finishing off the phrase declarations. The implementation is a single embaressingly horrid 13 parameter, 800 line, procedural, recursive method. It's been a while since I've faced a problem so frustrating or beyond my grasp that I diverted so much energy from basic code…
260 views
Telastyn
September 11, 2008
Mini update.
Little work tonight. I have method picking based on explicit identifier and combined with a standard parameter working now. There's no priority for the identifier versions yet. I also need to make null not trigger the explicit identifier methods [edit: done]. Mostly though I'm still running into me…
256 views
Telastyn
September 11, 2008
Tangent: Explicit Identifier Arguments
One of the main design focuses for Tangent as it stands now is to better allow Domain Specific Language (hereafter DSL) tendencies. Many of my primary motivations come from game programming where scripting languages are now ubiquitous. Even in the business world, there's been a proliferation of obj…
239 views
Telastyn
September 09, 2008
Tangent: Indexers
Added basic support for indexers tonight. Indexers suck. They're lengthy, they're weird, and despite their limited utility they're pretty essential for that utility. And most things still seem to be broken. Prolly the type parameterization stuff. Whatever. I can now create, add to, retrieve from, a…
225 views
Telastyn
September 08, 2008
Tangent: Type Parameterization, Part 1
It's been a slow two weeks with Disgaea 3 and American Labor Day occupying a lot of my time. Such layoffs seem to help though; they provide time to design. Time to scheme up good solutions for things. Like this. The problem is directly from Tangent internals. A type holds a number of definitions. B…
233 views
Telastyn
September 02, 2008
Tangent Tidbits.
Not much done over the long labor day weekend. Social obligations brought me away from the internet. Not so bad with a good book (American Gods) if it's infrequent.

Tangent work tonight was some updates to the .NET importer and certain bits of the type system to support importing generic types such …
255 views
Advertisement
Telastyn
August 25, 2008
Tangent: Properties
A week long vacation that is more work than relaxation sucks. 5 extra 3-day weekends? Infinitely better. Today is one of those random bonus days. In addition to squishing that one bug (see below) I wanted to get properties working. And lo, they work (at least for the simple case):


public class foo{…
276 views
Telastyn
August 25, 2008
Tangent: Buggery
Ran into an interesting bug over the weekend, and fixed today. The following code was in error:


public class foo{
public operator delegate int op(int x, int y);
}

public static void main(){
local foo x = new foo;

x.op = (int x, int y) => int{return(x+y);};

print 2 x.op 6;
}



The error was…
304 views
Telastyn
August 21, 2008
Tangent: Lambda Expressions
Daerax asked if Tangent was going to support local functions. It seems he meant anonymous delegate things, so yes. They're very useful for just little tidbits of glue code (because there's no 'bind' equivalent in C#), and pretty vital in providing snippets as strategies. Since Tangent is making an …
276 views
Advertisement

Popular Blogs

shawnhar
Generalist
101 Entries
14 Followers
klg71
Generalist
55 Entries
2 Followers
ApochPiQ
Generalist
628 Entries
45 Followers
15 Entries
14 Followers
johnhattan
Programmer
1,277 Entries
50 Followers
Advertisement