drsam94/Spl

Problem while compiling

Closed this issue · 2 comments

Hi,

this is not actually your problem, but:
I have this code written in SPL and I can't get it compiled. Its for a geocache and I politly want to ask you, if you could help me with it... Mayby its just a small problem.
You'll find the code here (just down below another esoteric programming language): http://www.geocaching.com/geocache/GC1G66E_shakespeare-und-andere-grausamkeiten?guid=894d70e9-1a5c-416a-8920-00253680031b

Would be nice to hear from you!

I took the code and tried to compile it, and it fails in the declarations. This is because the main unit of code in Shakespeare is the sentence - periods are very important, and because there are no periods at the end of your variable declarations, they cannot be compiled correctly.

I added periods to see if I could catch any other major errors, and indeed The Duchess of Wales is not in the character.wordlist, which lists all legal Shakespeare characters for the language, which admittedly is not 100% inclusive. So she will not be allowed in a declaration unless you edit the wordlist.

Also, I know at one point I had not properly implemented multi-word character names in cases where just the first word is not uniquely identifying (so The Archbishop of Canterbury / The Duchess of Wales might not work together). I may have fixed this, but if I haven't, that could be another issue.

Good luck getting up and running in SPL.

Hi!

Thanks for the quick response and the advises. I will try to get it running. Otherwise I have to compile it with "pen and paper"!