🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Tangent: Invisible Progress

Published March 08, 2009
Advertisement
Not much to report on the Tangent front. Partially it's because of lack of time, partially because it's in a bug-fix cycle. A lot of the work is making things that haven't even made it into a release yet (or were invisibly borked in the last release) work properly. And discovering more things that don't work of course. For the last week or so I've created 2 bugs for every 1 I fixed.

The two notable fixes:

public class foo{    public static    gen() => foo { return new foo; }}public static    main()=>void {    local foo FooInstance = new foo;    FooInstance = FooInstance.gen();}


This now does not work; it used to. foo.gen() still doesn't work, but that's another problem for another day.

public    (int x) is even => bool {    return( x % 2 == 0 );}


This does work now. It's not idiomatic, this is probably the better way of doing that:

// Since all classes are treated as partialpublic class    int{    public    this is even => bool { ... }}


The first makes an operator is that takes 'even' and an int. The second is a phrase that starts with int. The second is likely more useful and I should maybe make the code generation for the first do the second. Even though the second doesn't work at the moment...

Like I said fix one bug, find 2.
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement