Kategorier
WordBuilder

Wordbuilder lives!

Funny how this thing pops up every 1½ years or so 🙂

Someone asked me about wordbuilder, and I managed to pull myself together and compile a version that runs on my windows 10 machine. It’s been compiled for .NET framework 4.5 and should be ok to go with the latest mono too.

I’ve included the gtk dlls, so it should run without having that preinstalled, but I haven’t tested it. Let me know how it works out.

Download at http://whee.dk/wordbuilder/gtkwordbuilder-3.5.0.zip

Kategorier
WordBuilder

Online wordbuilder

Yay! A mr. Matthew Martin decided to pick up the pieces of WordBuilder and made a web based version!

It uses the same engine as the latest mono wordbuilder, so it has some kind of problem with the translate command. Proceed with caution. Other than that, it’s nice to see some interest in the project again.

Now, head over to http://wordgenerator.wakayos.com/ and try it out 🙂

Kategorier
Programming WordBuilder

WordBuilder 3.0.0 release

Okay, I think it should be working now, so I’m hereby releasing WordBuilder v3.0.0

Download at: http://whee.dk/wordbuilder/gtkwordbuilder-3.0.0.zip

It’s a simple zip file with an exe and a dll. As with the previous GTK version, you’ll need GTK# installed. http://www.go-mono.com/mono-downloads/download.html

To my knowledge, it runs equally well on .NET and Mono.

The new things I’ve added are:

– Syntax highlighting
– Support for c-style brackets (so you can drop the { to a line of its own) and ; line enders
– Support for python-style blocks (use two spaces or one tab for each level of indentation)

In order to do this, I had to rewrite the parser, so it is now much more flexible and I think I’ll be able to add IntelliSense and contextual help and such to the UI in time.

Now I think it’s time to do some clean up of the old code, but first, a commit to the GIT repo.

Kategorier
WordBuilder

MonoWordBuilder beta release

Ok, I guess I’m just about ready to try this thing out.

http://whee.dk/wordbuilder/monowordbuilder.zip

Copy the contents of the zip into a directory of your choice and run it using:

Windows: doubleclick gtkwordbuilder.exe.

Mac/Linux: in a terminal, run the command ‘mono gtkwordbuilder.exe

You will need an install as well. On the mono web page, you can find instructions for your operating system: http://www.go-mono.com/mono-downloads/download.html

Windows users will be able to run this with GTK# for .NET, a pretty small download.

I’d love to hear about your experiences with trying this version out on non-windows systems.

Kategorier
WordBuilder

GtkWordBuilder

Ok, I think I now have a very basic version of GtkWordBuilder – WordBuilder implemented in a cross-platform gui system. It lacks line numbering and syntax highlighting, but it should be able to run under linux, mac, windows, whatever you can run mono and Gtk# under.

For this project of translating and reimplementing WordBuilder, I decided to try Test-Driven Development, so there’s also a bunch of unit tests. Not for everything, but still. There’s no unit tests for the commands, but all in good time. I feel I’ve made quite some progress here.

Here’s a screenshot of my latest build. Still not sure how to package, but the source is available at github.

Kategorier
Programming WordBuilder

WordBuilder Mono

Ok, I’ve taken my first stab at a mono-compatible tool. Turns out I couldn’t get MonoDevelop to build my VB code for some reason… So now I’ve spent some time converting the most important bits of code to C#, and it looks like I’m able to compile and run under mono.

What I have at the moment is a command line tool:

monowordbuilder <file_name>[ -v][ -r <starting_rule> <amount>]*

Which outputs a number of generated words, either just the root word or the larger output which contains marks and branches (using the -v argument).

If you don’t enter any rules at the command line, it’ll use the defaults you’ve set up in the .wordo file using the StartingRule directive. If there are none, it’ll default to generating the ‘root’ rule 100 times.

Oh, and I’ve no idea how to package it, so if anyone’s able to help out there, that’d be great. The source code is available at github.

Kategorier
WordBuilder

WordBuilder grows a bit

Version 2.0.3 is up:

http://whee.dk/wordbuilder/WordBuilder20.msi

In this version:

  • Translator supports multiline texts.
  • Translator has a “Translate Back” function which will give you meanings for words in your language.
  • Generator supports referencing token sets.
tokens vowels a e i o u
tokens vowelsplus $vowels ë ï ö // a e i o u ë ï ö
  • Generator supports token sets removing tokens:
tokens vowels a e i o u
tokens vowelsminus $vowels ![a e] // i o u
  • Generator now has a check to make sure code doesn’t run amok – a maximum of 500 rules per word has been put in place.
  • Generally, you can press ctrl+a to select all text in the active area.
  • Cut/copy/paste works in all text boxes.
  • Dictionary has functionality to ‘Add another meaning’ when you right click a word.
  • Fixed apply, so it will not loop endlessly if you branch inside your apply.
  • Fixed parser, so it allows multiple spaces between tokens.
  • Added rules picker to the code editor. Generate words to update the list.
  • Added search (ctrl+f) to the code editor.
  • Improved syntax highlighting, though performance is still not good with scripts over 1700 lines – this seems to be a general problem with the control I’m using. Might have to switch it. *shudder*

Also, don’t miss the GREAT introduction written by CaesarVincens.

Finally, I have to mention that I’ve thrown the code up for public ridicule on GitHub.

Kategorier
WordBuilder

WordBuilder v2.0

For version 2, I’ve reworked the dictionary and translator, and I’m very interested in feedback on those, but of course also on the application in general.

Download the latest version here.

Requires Windows and .NET framework 3.5sp1. This may help you download just what you need.

Documentation for the rules language

The WordBuilder generator page
The WordBuilder dictionary page
The WordBuilder translator page

Kategorier
WordBuilder

WordBuilder 2.0 – prerequisites

I’ve decided to base WordBuilder 2.0 dictionaries on Microsoft Sql Server Compact Edition – a file based tiny version of Sql Server.

Update: I’ve found a way to avoid the extra download and install, so I’m now bundling the necessary files with WordBuilder. Yay.

Kategorier
WordBuilder

WordBuilder v1.6 release

I had hoped to go directly to 2.0 from 1.5, but I’d hate for a language app to not support unicode chars – I accidentally broke support with my syntax highlighting.

I also found a bug in the translate command, so a multi-character token might be partially hit with a single character match ( r => x changed my /rt/ tokens to /x t/)

That’s pretty much it, as my focus is mostly on Esolanean and v2.0, where I hope to offer a pretty decent dictionary tool in stead of the current crappy one. Suggestions are most welcome.

Download WordBuilder v1.6 here