Shasi 0.1 Released
I just released version 0.1 of The Shasi Framework (Semantic Human-ActionScript Interpreter). The page is really ugly now, and there’s not much there besides a download link. I just got it working so be patient.
This is the more general framework for what my last post was, HASIFF. This doesn’t do anything specific by itself, but acts more as an OOP foundation for whatever you want to do. Obviously.
So let’s take a look at the framework, there’s 4 basic parts:
- Shasi - The main static class: preparse and parse functions.
- ShasiLang - The language class: this manages all the language details.
- Shasi_language.xml - The Shasi Language file: this hold all the information about the language.
- ShasiInterpreter - The Interpreter class: this is made by the developer, and does the real useful functions
So it’s pretty straightforward, small, and lightweight. Now the point of the framework is to take a given string, parse through it, and come to an end result. Shasi does all the hard stuff, and you as the developer only have to worry about what your end result is.
One of the key strengths of the framework is it’s language abilities. It let’s you write minimal code to get maximum results. No, it’s not a exercise product, but when your product can behave the exact same way across any language just by loading an XML file, it’ll seem that way.
The Shasi XML Language file is a basic xml file that tells the interpreter what the important words are and what variations of the words to look out for. This let’s users talk like they would in their native tongue without making them say certain words; because that would be programing.
The parsing methods in the Shasi class are useful when just dealing with strings. They just take a string and split it up into chunks and then into an array. Another great advantage of this framework is that it’s very generic. You can use some things here and there without the rest however you like, for whatever you like.
Well that’s a general outline of Shasi. More information will be up soon, along with updates. This is fully open source and if you’d love to help out, that would be great!
September 25th, 2006 at 12:22 am
Hi there
I follow the thread you started on Kirupa.com. I think this is quite impressive work. You should definetly develop it even further !
— Brian
September 25th, 2006 at 12:35 am
Hey thanks for the encouragment Brian. I’ll be sure to develop it to at least a stable version with proper docs and a proper website.
I don’t know how big of an audience this will have, and there are much more important projects I need to work on, so this isn’t going to be top on the list after a few more days.
September 27th, 2006 at 11:03 am
This utility would make alot of programmers that use voice command very happy
October 6th, 2006 at 6:38 am
u have raealy done exelant job i am impressed
keep it up
October 31st, 2006 at 4:05 am
Really nice work man. Totally out of the box.
Keep up the good work