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
November 03, 2008
Tangent: Generics Part 1
At least the most cursory of generics now work in source:

public class foo{
public T x;
}

public static void main(){
local foo<int> bar = new foo<int>;

bar.x = 5;
// bar.x = "foo!"; // error, no assignment to int from string.
print bar.x;

local foo<string…
282 views
Telastyn
October 30, 2008
Hardware and next steps.
My main dev machine ran into some problems a few days back. Windows would flash and generally not be interactive, making it pretty useless. The login screen and alt-ctrl-del screen worked well, so I put the problem in with the video card/driver (since I'm using vista). A reinstall of the drivers di…
267 views
Telastyn
October 21, 2008
Tangent: v0.25!
Link

New Tangent release is out. The link is for the release page describing some of the additions since you could last toy around with the language. It still mostly sucks, but has some new and interesting things I've not seen offered elsewhere. Compliments are welcome; bug reports or suggestions fo…
443 views
Telastyn
October 14, 2008
Tangent: Const-cleanup.
I fixed up a lot of the brokenness caused by the const addition. The pi and maze testapps work again.

More importantly, these sort of things will now provide you with an error (and not cause ambiguity errors when paired with a valid option like properties often cause):


4 = 2;
int = string;
* = /;

main =…
255 views
Telastyn
October 11, 2008
Tangent: Constness
Tangent at last seems to have lost some steam. A distinct desire to play games and added workplace workload and a visit from the family have conspired to leave me with little time and motivation to work on the language. There's about a half dozen mildly hairy changes that should get done before the…
252 views
Telastyn
September 27, 2008
Cliches that hold true.
Whimsy drove me from productive stuff towards profiling stuff. The maze app (last post) is indeed spending 60-70% of its time on what amounts to a single method call. It's not actually the dynamic invoke on a MethodInfo (like I suspected) but simply creating storage for the return value from a .NET…
228 views
Telastyn
September 26, 2008
Tangent: Maze Example

Beginning Compilation.
Imports complete. 30 types exist.

Compilation Complete.
Time Elapsed: 00:00:01.1542230

#################################################################################
#.....#...............#...#...........#.....#...............#.....#.............#
###.#.#.###########.#.#.#.#.#…
374 views
Advertisement
Telastyn
September 25, 2008
The great 2008 bug hunt.
Sorry folks, no maze output tonight. I spent the night (and half of last night) hunting one bug. The bug manifested itself in double-lists: List> but only when Tangent types were involved. List> worked fine. The symptom was that the second indexer call would crap out in method group invoke sa…
284 views
Telastyn
September 24, 2008
Tangent: Prelim Maze Gen
Had some time tonight (and more importantly, some motivation) and worked through the maze gen. It doesn't quite run yet. Fixed two bugs, one with default initializers and complex types (this-method instances), another where a returned instance's indexers were ignored. I've still got an elusive bug …
289 views
Telastyn
September 23, 2008
Tangent: Bug Update
Tiny update. The bug from the last post has been found and killed. The problem wasn't with nested type parameterization (that works fine). The problem was that when Tangent instances go into .NET, they go as the underlying .NET instance of all Tangent instances. Tangent then handles the type safety…
284 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