gwalla (gwalla) wrote,
gwalla
gwalla

  • Mood:

More on the T language

A short follow-up to this.

Sorry, allpurposeguru, I never wrote up any sort of spec. T exists as a bunch of ideas floating around in my head. I wrote up a description a number of years ago, but it was on my student account and I lost it when I left. This is all there is.

T should be able to handle that low-lever stuff. With the older pointer system, you'd use a handle (non-heap, not-for-array-traversal) for that. With the newer floating references, you could assign a specific address to a reference by using the @= address-assignment operator with a hexadecimal literal.

There are a couple of borrowings from Perl. One is the ccomparison operator <=> (returns -1 for less than, 0 for equals, 1 for greater than). The other is context: functions can be overloaded by return type as well as parameter types.
Tags: ideas, tech
Subscribe

  • Yet another drink recipe

    Long time no post! Since LJ's been on the wane, both in terms of community and actual functionality (we can seriously only go back ONE page on the…

  • (no subject)

    Wow, that's one hell of a lineup! I can confirm that Earth is excellent live, or at least they were several years ago when I saw them in SF. Also, no…

  • I can't stop watching...

    Yoshi's got the moves.

  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments