ASCA v0.1.6 - NEW

Substantial postings about constructed languages and constructed worlds in general. Good place to mention your own or evaluate someone else's. Put quick questions in C&C Quickies instead.
User avatar
linguofreak
Lebom
Lebom
Posts: 123
Joined: Mon Jun 13, 2005 10:39 pm
Location: Somewhere
Contact:

Re: ASCA v0.1.6 - NEW

Post by linguofreak »

Goatface wrote: That might be possible now, if you use CSV mode and start the cell with # it should work;
OK. The documentation only mentions # as being valid in the rules file, though.

User avatar
Morrígan
Avisaru
Avisaru
Posts: 396
Joined: Thu Sep 09, 2004 9:33 am
Location: Wizard Tower

Re: ASCA v0.1.6 - NEW

Post by Morrígan »

linguofreak wrote:
Goatface wrote: That might be possible now, if you use CSV mode and start the cell with # it should work;
OK. The documentation only mentions # as being valid in the rules file, though.
Yeah, this is something I think I implemented as a hack and didn't document because it was supposed to be temporary and I didn't really like it. It might work if the cell starts with a single quote ' or grave ` too, I forget.

User avatar
Nortaneous
Sumerul
Sumerul
Posts: 4544
Joined: Mon Apr 13, 2009 1:52 am
Location: the Imperial Corridor

Re: ASCA v0.1.6 - NEW

Post by Nortaneous »

Hmm... sets in the initial aren't allowed, are they? That's easy enough to work around, but would it be possible to give a more informative error message than "initial/final mismatch"? (unless I did something wrong in k{ə o u}w x{ə o u}w χ{ə o u}w > kw xw xw and I'm just not seeing it; considering my previous stupidity here, I wouldn't be surprised.)

edit: also --changes doesn't work for me on Linux with a three-line lexicon file that I created in nano (all the words were the same), but it works on my original lexicon. weird. I don't think it's a CRLF thing, since I'm pretty sure I converted it to unix format.
Siöö jandeng raiglin zåbei tandiüłåd;
nää džunnfin kukuch vklaivei sivei tåd.
Chei. Chei. Chei. Chei. Chei. Chei. Chei.

zyxw59
Lebom
Lebom
Posts: 95
Joined: Fri May 06, 2011 9:18 pm

Re: ASCA v0.1.6 - NEW

Post by zyxw59 »

A feature that I'd like is multiple daughter languages, so you can have some changes applied in all of them, some only applied in some of them, others only applied in others, etc.

User avatar
linguofreak
Lebom
Lebom
Posts: 123
Joined: Mon Jun 13, 2005 10:39 pm
Location: Somewhere
Contact:

Re: ASCA v0.1.6 - NEW

Post by linguofreak »

Goatface wrote:
Nortaneous wrote:--changes doesn't work for me with DOS-format linefeeds, but I converted them to Unix and it worked
running Win7
I'll take a look at that; I'm probably just writing these using LF and not CR-LF.

There is also an outstanding problem with Kleene Star operators: C*_ won't work, but _C* will - I know basically why this is happening, but haven't had time to sift through the code to find out exactly why it's matching the wrong strings.
The + operator also doesn't seem to work, except after the _.

Code: Select all

C+ > 0 / _#
doesn't work (I'm trying to delete all final consonant clusters)

nor does

Code: Select all

[grave] > [long] / [any]_[any] UNLESS #C+_
(With [any] being a workaround for needing an actual condition instead of just a _ for an unless statement).

or

Code: Select all

[short] > [grave] / #C+_C+{I U}
EDIT:

Also, --changes files seem never be output in their entirety. They are truncated to lengths that are exact multiples of 8192 bytes. I'm getting on file that's getting truncated straight down to 0 bytes in length, another that's being truncated to 8192 bytes, and a third that's being truncated to 16384 bytes.

EDIT 2: After adding some data to one of my source language files, I'm now seeing a 24 kB and a 32 kB --changes file. What I think is happening is that it's generating an N byte file, then writing it out in 8 kB chunks. The last chunk is less than 8 kB and doesn't get written for some reason or other, either because an error happens when it tries to write a < 8 kB chunk, or because it determines how many chunks to right by taking N / 8 kB and rounding down instead of up.

So a 5 kB changes file gets written as an empty file, a 10 or 15 kB changes file gets its first 8 kB written, a 20 kB file gets its first 16 kB written, and so on.
Last edited by linguofreak on Mon Jun 20, 2011 12:36 am, edited 1 time in total.

User avatar
linguofreak
Lebom
Lebom
Posts: 123
Joined: Mon Jun 13, 2005 10:39 pm
Location: Somewhere
Contact:

Re: ASCA v0.1.6 - NEW

Post by linguofreak »

The previous post was bug reports, this one is feature requests.

Is there any way to implement metathesis?

Code: Select all

VA > AV / %Insert environment here
doesn't work (where V is "vowel" and A is "approximant"), for obvious reasons, and implementing it as individual rules of the form

Code: Select all

Vl > lV / %environment
works, but is tedious and leads to ordering issues.

Also, it would be nice if, when waiting for "Enter" after an error, the program would print "Press enter to continue", or the like.

User avatar
linguofreak
Lebom
Lebom
Posts: 123
Joined: Mon Jun 13, 2005 10:39 pm
Location: Somewhere
Contact:

Re: ASCA v0.1.6 - NEW

Post by linguofreak »

Goatface wrote:
linguofreak wrote:
Goatface wrote: That might be possible now, if you use CSV mode and start the cell with # it should work;
OK. The documentation only mentions # as being valid in the rules file, though.
Yeah, this is something I think I implemented as a hack and didn't document because it was supposed to be temporary and I didn't really like it. It might work if the cell starts with a single quote ' or grave ` too, I forget.
I've finally gotten around to trying CSV mode, and I've found that it doesn't seem to be working properly. I've tried using both commas and semicolons as separators, but rules that are supposed to apply at the end of a word don't apply at the end of non-line-final cells.

Bedelato
Lebom
Lebom
Posts: 193
Joined: Sat Oct 30, 2010 1:13 pm
Location: Another place

Re: ASCA v0.1.6 - NEW

Post by Bedelato »

Goatface wrote:
Bedelato wrote:Rule exceptions don't work right unless there's a positive condition. Just using a plain underscore for the condition will completely ignore the exception part, applying the rule unconditionally.
Yeah, this is not a surprise. I realized that it might be a problem this morning; also, you can't use OR with UNLESS, so each rule can only be blocked by one environment, which is obviously not good enough.
Also, ASCA seems to ignore the first line of the rules file. (This goes back to 0.1.3, actually, but I didn't get around to sharing it until now.)
This is most likely an encoding problem, where the file has a byte-order marker in it. I thought I was scrubbing the file for BOMs, but possibly not.
Oh yeah. I checked; it is indeed the pesky UTF-8 byte-order mark that's responsible. That little byte sequence trips up pretty much any program I've ever used.
At, casteda dus des ometh coisen at tusta o diédem thum čisbugan. Ai, thiosa če sane búem mos sil, ne?
Also, I broke all your metal ropes and used them to feed the cheeseburgers. Yes, today just keeps getting better, doesn't it?

User avatar
Lyhoko Leaci
Avisaru
Avisaru
Posts: 716
Joined: Sun Oct 08, 2006 1:20 pm
Location: Not Mariya's road network, thankfully.

Re: ASCA v0.1.6 - NEW

Post by Lyhoko Leaci »

I solved that problem by putting comments up there.

Edit: The not reading the first line problem, that is.
Zain pazitovcor, sio? Sio, tovcor.
You can't read that, right? Yes, it says that.
Shinali Sishi wrote:"Have I spoken unclearly? I meant electric catfish not electric onions."

User avatar
garysk
Sanci
Sanci
Posts: 67
Joined: Sat Jan 15, 2011 5:14 pm
Location: Desert Hot Springs, CA

Re: ASCA v0.1.6 - NEW

Post by garysk »

Bedelato wrote:
Oh yeah. I checked; it is indeed the pesky UTF-8 byte-order mark that's responsible. That little byte sequence trips up pretty much any program I've ever used.
Um, IIRC, UTF-8 does not use a BOM, that being a "feature" of the ghastly UTF-16. UTF-16 is notorious for terminal meltdown in the face of minor corruption, not to mention ASCII incompatibility.
Wikipedia, UTF-8, http://en.wikipedia.org/wiki/UTF-8 wrote: UTF-8 (UCS[1] Transformation Format — 8-bit) is a multibyte character encoding for Unicode. Like UTF-16 and UTF-32, UTF-8 can represent every character in the Unicode character set. Unlike them, it is backward-compatible with ASCII and avoids the complications of endianness and byte order marks (BOM).
Suggestion: if you have BOM problems, switch your encoding to UTF-8.
(Avatar is an electric motor consisting of a bit of wire, a couple of paper clips,
two neodymium magnets, and a pair of AA batteries. A very cute demo of
minimal technology, and likewise completely useless for any practical purpose.)

Bedelato
Lebom
Lebom
Posts: 193
Joined: Sat Oct 30, 2010 1:13 pm
Location: Another place

Re: ASCA v0.1.6 - NEW

Post by Bedelato »

No, UTF-8 doesn't need a byte-order mark, but for some reason most programs put one in there anyway.
blahblah_utf8.PNG
blahblah_utf8.PNG (31.82 KiB) Viewed 6855 times
blahblah_cmd.PNG
blahblah_cmd.PNG (19.91 KiB) Viewed 6855 times
What do you think that garbage in the console window is?

Just to say stuff: the Windows console uses code page 437 by default. It doesn't understand Unicode. While a most UTF-8 supporting programs recognize those three bytes (which are actually, if I understand correctly, a completely unnecessary byte-order mark) and throw them away, programs that don't recognize it will show garbage characters at the start of the file.

I've solved the problem by either putting a blank line at the top of the file, or by telling Notepad++ to "encode in UTF-8 without BOM". Windows Notepad doesn't give you that choice :x
At, casteda dus des ometh coisen at tusta o diédem thum čisbugan. Ai, thiosa če sane búem mos sil, ne?
Also, I broke all your metal ropes and used them to feed the cheeseburgers. Yes, today just keeps getting better, doesn't it?

User avatar
faiuwle
Avisaru
Avisaru
Posts: 512
Joined: Mon Feb 12, 2007 12:26 am
Location: MA north shore

Re: ASCA v0.1.6 - NEW

Post by faiuwle »

Well, I have opened up with a hex editor various UTF-8 encoded text files saved in Windows and linux using (g)vim, and none of them have any kind of byte-order mark. So just using vim instead of Notepad++ might solve the problem.
It's (broadly) [faɪ.ˈjuw.lɛ]
#define FEMALE

ConlangDictionary 0.3 3/15/14 (ZBB thread)

Quis vult in terra stare,
Cum possit volitare?

User avatar
garysk
Sanci
Sanci
Posts: 67
Joined: Sat Jan 15, 2011 5:14 pm
Location: Desert Hot Springs, CA

Re: ASCA v0.1.6 - NEW

Post by garysk »

<TOPIC_DRIFT>
Bedelato wrote:No, UTF-8 doesn't need a byte-order mark, but for some reason most programs put one in there anyway.

What do you think that garbage in the console window is?

While a most UTF-8 supporting programs recognize those three bytes (which are actually, if I understand correctly, a completely unnecessary byte-order mark) and throw them away, programs that don't recognize it will show garbage characters at the start of the file.

I've solved the problem by either putting a blank line at the top of the file, or by telling Notepad++ to "encode in UTF-8 without BOM". Windows Notepad doesn't give you that choice :x
Thanks Bedelato for straightening me out on that! At least UTF-8 CAN be less brain-damaged than UTF-16, which is DOA.
</TOPIC_DRIFT>
------------------------------
From the Continent's left edge

Grzanka
Niš
Niš
Posts: 2
Joined: Fri May 04, 2012 10:09 am

Re: ASCA v0.1.6 - NEW

Post by Grzanka »

I don't know if this project is still alive or not, but I have a problem with the newest version (0.1.6) and maybe someone here could help me.

I want to change a sequence of [dental]s[dental] to ss, e.g. widstós > wissós. My function for this is:

Code: Select all

[dental] = t d dʰ

[dental]s[dental] > ss
It seems to be doing fine, but only if the two dentals are the same. witstós gives wissós, but witsdós doesn't change at all. It's as if when two variables are inserted into an Initial, function only works with the same variables' values. I don't know what to do.

User avatar
Torco
Smeric
Smeric
Posts: 2372
Joined: Thu Aug 30, 2007 10:45 pm
Location: Santiago de Chile

Re: ASCA v0.1.6 - NEW

Post by Torco »

talk about necromancy!

Grzanka
Niš
Niš
Posts: 2
Joined: Fri May 04, 2012 10:09 am

Re: ASCA v0.1.6 - NEW

Post by Grzanka »

Yeah, I know, but maybe, just maybe, someone could help me. You know, from beyond the grave...

User avatar
linguofreak
Lebom
Lebom
Posts: 123
Joined: Mon Jun 13, 2005 10:39 pm
Location: Somewhere
Contact:

Re: ASCA v0.1.6 - NEW

Post by linguofreak »

Since Goatface is back I'm bumping this in hope that some of the outstanding bugs can be resolved.

User avatar
Morrígan
Avisaru
Avisaru
Posts: 396
Joined: Thu Sep 09, 2004 9:33 am
Location: Wizard Tower

Re: ASCA v0.1.6 - NEW

Post by Morrígan »

Interesting, I must have done something very sloppy when writing variable propogation. You basically have three options right now, one would be to make two [Dental] variables with the same contents --- this should work, but I can't test it. Another option would be to use the literals on one place, so you have three lines instead of one or nine.

The best might be to do something a little different like:

Code: Select all

[dental] > s / _s[dental]
[dental] > 0 / ss_
or something along those lines. I'm working on another project at the moment but am only a few days away from being able to shelve it (I'll have it running again where it was before). I lost a lot of code somehow, and the codebase for ASCA 0.1.6 had grown out of control so I'll be starting over, hopefully letting me make something more powerful using the same rule format (so old rulesets will still be runnable)

User avatar
The Hanged Man
Sanci
Sanci
Posts: 42
Joined: Wed Dec 16, 2009 3:11 am

Re: ASCA v0.1.6 - NEW

Post by The Hanged Man »

Well... is something going on about the project? A lot of time passed since the last news, and the version is still 0.1.6. I'm writing this, because I have a problem with using both [ː] and [:] as markers of vowel lenght. I want to turn [ I've tried these:

i u > ɪ ʊ / _ UNLESS _ː
then
iː uː > i u

and

iː uː i u > i u ɪ ʊ

and none of them worked, I always got iː uː i u > ɪː ʊː ɪ ʊ. The marker of length seems to be ignored.

User avatar
Lyhoko Leaci
Avisaru
Avisaru
Posts: 716
Joined: Sun Oct 08, 2006 1:20 pm
Location: Not Mariya's road network, thankfully.

Re: ASCA v0.1.6 - NEW

Post by Lyhoko Leaci »

Archaeopteryx wrote:Well... is something going on about the project? A lot of time passed since the last news, and the version is still 0.1.6. I'm writing this, because I have a problem with using both [ː] and [:] as markers of vowel lenght. I want to turn [ I've tried these:

i u > ɪ ʊ / _ UNLESS _ː
then
iː uː > i u

and

iː uː i u > i u ɪ ʊ

and none of them worked, I always got iː uː i u > ɪː ʊː ɪ ʊ. The marker of length seems to be ignored.
Use this?
i u > ɪ ʊ
ɪː ʊː > i u
I think that's what I use whenever that situation comes up.

(If for whatever reason there's already [ɪː] [ʊː] before those changes and you don't want those to merge with the final , then try something like this:
iː uː > I U (with I U being two characters that aren't used anywhere else, if I U are used somewhere)
i u > ɪ ʊ
I U > i u

And/or it's confusion from using both [ː] and [:]. (in which case, maybe add a ː > : or : > ː at the beginning, if the confusion is coming from the input)
Zain pazitovcor, sio? Sio, tovcor.
You can't read that, right? Yes, it says that.
Shinali Sishi wrote:"Have I spoken unclearly? I meant electric catfish not electric onions."

User avatar
Qwynegold
Smeric
Smeric
Posts: 1606
Joined: Thu May 24, 2007 11:34 pm
Location: Stockholm

Re: ASCA v0.1.6 - NEW

Post by Qwynegold »

Is this still alive? Is the program stabile? The ASCA website is down. :(
Image
My most recent quiz:
Eurovision Song Contest 2018

CaesarVincens
Lebom
Lebom
Posts: 204
Joined: Thu Feb 25, 2010 7:26 pm

Re: ASCA v0.1.6 - NEW

Post by CaesarVincens »

Qwynegold wrote:Is this still alive? Is the program stabile? The ASCA website is down. :(
Morrigan left the ZBB a while back. I don't know anything about her site.

Zju
Lebom
Lebom
Posts: 243
Joined: Tue May 08, 2012 11:10 am

Re: ASCA v0.1.6 - NEW

Post by Zju »

Qwynegold wrote:Is this still alive? Is the program stabile? The ASCA website is down. :(
There's HSCA in L&L, which seems somewhat similar to ASCA from the few examples I've seen, and is a quite good SCA. It could even be a continuation of ASCA, but I'm not quite sure about this.

User avatar
Hallow XIII
Avisaru
Avisaru
Posts: 846
Joined: Sun Nov 04, 2012 3:40 pm
Location: Under Heaven

Re: ASCA v0.1.6 - NEW

Post by Hallow XIII »

this, whose thread is here
陳第 wrote:蓋時有古今,地有南北;字有更革,音有轉移,亦勢所必至。
R.Rusanov wrote:seks istiyorum
sex want-PRS-1sg
Read all about my excellent conlangs
Basic Conlanging Advice

User avatar
Qwynegold
Smeric
Smeric
Posts: 1606
Joined: Thu May 24, 2007 11:34 pm
Location: Stockholm

Re: ASCA v0.1.6 - NEW

Post by Qwynegold »

CaesarVincens wrote:
Qwynegold wrote:Is this still alive? Is the program stabile? The ASCA website is down. :(
Morrigan left the ZBB a while back.
What? Oh no. :(
CaesarVincens wrote:I don't know anything about her site.
I was referring to the links that she kept posting throughout this thread.
Image
My most recent quiz:
Eurovision Song Contest 2018

Post Reply