Thursday, September 4, 2008

CRC32

Here's an implementation of the CRC32 algorithm in REALbasic.

Download

Tuesday, August 19, 2008

Simple Lexer & Parser

By popular demand, I've written a simple lexical analyzer and grammar parser in REALbasic. The language itself is very simple; all it does is provide an interface to set named switches on or off, but it does provide a framework for properly analyzing a language.

Enjoy.

Download

Monday, August 11, 2008

Win32 Files on the Clipboard

REALbasic does not have an easy way for you to add FolderItems to the clipboard. Why would you want such a thing? Perhaps to mimic Explorer's method of copying and pasting files, or to give your app some last minute polish.

Either way, here it is for your enjoyment. Win32 only at present; sorry Mac people.

Download

Monday, June 16, 2008

SHA512

Someone on the RB IRC channel needed this, and I knew I was about to need a hashing algorithm, so I figured I'd oblige and port some C code over.

Download

The SHA512 class has exactly the same interface as the MD5Digest class; you can simply replace one for the other if need be. Further details are included with the demo application.

Wednesday, June 11, 2008

AutoUpdate

Well, because someone asked about this, I'm resurrecting it.

Download

AutoUpdate is a module for REALbasic that allows your app to download an update from the Internet and relaunch itself. Currently, the scope of the module is very limited: Win32 is the only supported platform, and it can only update the executable file (which was fine up until very recently when RB moved its libraries outside the executable).

Labels: ,

Greetings!

I am a software developer. As such, I write a lot of code. Occasionally, some of it is useful, and somewhat reusable. If it's something I can share, it will inevitably end up here.

I primarily develop in REALbasic, though I have been known to dabble in C and C++ on occasion, and some other languages on the rare occasion.

All stuff I provide here - unless otherwise noted - is released as free software without warranty. Basically that means you can do whatever you want with this stuff, but don't come crying back to me when something bad happens that this stuff is directly or indirectly responsible for.

Not that I'm out to screw anybody; just need to legally cover my butt, that's all.

Also, if you use my stuff, I'd really appreciate it if you'd throw a few bucks my way. My PayPal account is buy@upshiftstudios.com for those feeling generous. If you don't feel like doing that, the least you could do is comment on the stuff you used; I like getting feedback from people.

Enjoy.