March 31, 2007

Compilers and Orchestra

When I started this silly blog thing, I had hoped to be able to post it in on a regular basis about current events and happenings in my many (yah, right) mathematical (sometimes) travels (sittings) .



Needless to say, it didn't work out that way.



Heres what I'm working on, and what I'm not working on anymore:



Orchestra, A CAMaCS:



Orchestra is designed to be a Composer Assistant, something that helps you get out of a rut by learning from previous compositions and applying rules you supply it to suggest the next few notes of whatever your working on. I hope to have the Paper I'm writing about it as well as the actual source up on my site soon. It'll be pretty bare, I don't think I'm going to get to the GUI any time soon, but it'll be workable, more or less, if you don't mind hand editing code to make it work... :)



Joe, a mini java compiler:

I'm taking CS41 something or other, a Senior level CS course,

I'm a Sophmore level Math major.

I suck.

I don't think I'm going to be able to finish it, fortunately, I only took this course as an elective, I don't need it to graduate, so I should be fine when I fail it miserably.



The material is interesting, I just don't have the code-writing skill to handle the requirements.





Anywho, I intend to take PLT next year (what I should have taken this year) which I do want for my "Major" (which is Math + Algebra + AI + Functional Programming Languages + Logic = Math w/ concentration in Logic and Algebra, and a healthy smattering of AI and Formal Languages) I hope to end up working with Automated Theorem Proving/Proof Assistant systems, (hence my inspiration for Orchestra, and Automated Music Writing system, more or less.) with all that, but who knows.



Anyway,





~~Joe

January 07, 2007

Of Compilers and Virtual Things

C++ is ugly and it sucks ass.



Java is pretty.



I'm writing a compiler/virtual machine I'm considering just saying "fuck it" and doing it in java. Because I know java, and java is pretty.



But I dont know, it might end up slow, and that would make me sad, theres nothing worse than a slow VM/Compiler.



I'm just so annoyed with the state of computer languages in respect to math these days. The only really worthwhile languages are all about computers, I mean-- come on... Who wants a computer language to primarily do computer stuff? But seriously, I need a language that will have all the beauty and awesome power of languages like Lisp and Perl. But still be efficient and portable enough to be useful. So I finally said, "screw it, I'll do it myself", I think my current method will be to write the VM is C++, for speed purposes. But maybe I'll write the final compiler in Java, because it will be a significantly more complex bit of code. In C++, debugging anything bigger than a few lines hither and thither is a bitch- but for the speed it offers-- I dont know- maybe I can find a decent cross compiler and then just go back and comb out the resulting code... I suppose I should get back to learning about templates in C++, ugly little bastards. I hate pointers. Hate them hate them hate them...



~~meh.

September 05, 2006

Chess

This Site is an absolutely wonderful resource on chess and the like. Starts from the basics and moves into notation and all such wonderful things- I'm really rather enjoying it.

So besides the chess site- hopefully I'll have a nice looking Formal Grammar to post in a few days which is (intended to be a) description of the wonderful craft of Crocheting. Its really a terribly neat concept- I think.

Anyway- Terribly interesting stuff

~~QED

September 03, 2006

The Grand Disparate Notion:



This is a Blog. I Caved. I don't mind though- I'm weak. Anyway, I'll post plenty of random shit for noone to ever read, but it will make me happy. So there.

Enjoy the disparity of my thoughts.