[07:20:29] *** Quits: proteusguy (~proteus-g@2405:9800:bc10:1ca:0:977c:6a76:6644) (Remote host closed the connection) [08:32:29] *** Joins: proteusguy (~proteus-g@14.207.5.13) [11:59:24] Good morning everybody! [11:59:57] Could somebody explain this to me? [12:00:13] 17-24: In addStrings: unsupported token gluing: s1 + "כער" [12:00:13] CallStack (from HasCallStack): [12:00:16] error, called at src/compiler/GF/Compile/Compute/ConcreteNew.hs:293:32 in gf-3.9-noQCufcMavD2ryEW11SIE:GF.Compile.Compute.ConcreteNew [12:01:59] everything glued just fine until i introduced a new oper where the gluing takes place (in order to deal with final letter forms). [12:24:59] *** Quits: proteusguy (~proteus-g@14.207.5.13) (Remote host closed the connection) [12:50:44] esg: if you're calling that oper from a lin in a way that is not e.g. just constructing an inflection table, it's still runtime gluing [12:52:27] say you have lin Pred np vp = addStrings np.s vp.s, that's as wrong as doing np.s + vp.s [12:53:40] but if you have lin cat_N = lin N { s = table { Sg => "cat" ; Pl => "cats" } } ;, you could as well define an oper regN : Str -> (Case => Str) [12:53:56] s/Case/Number/ [12:54:06] such that regN cat = table { Sg => cat ; Pl => cat + "s" } [12:54:32] and there you're not gluing runtime tokens, you're just constructing them, defining cat_N [13:02:11] inariksit: no, i'm only calling the oper from another oper mkAdj, where i used to do the gluing. [13:02:26] so everything should be compile-time. [13:05:10] the idea is that addStrings s1 s2 should work like s1 + s2, but possibly changing the last glyph of s1. [13:06:58] can you show the code? [13:14:02] https://pastebin.com/DjKVuimx [13:14:48] Ah but i'm lacking a default case. [13:15:04] let me see if that is a problem. [13:15:53] yes! that was it! [13:16:11] inariksit: sorry about that. [14:21:52] no worries! and great that you found the solution ^^ [14:39:19] *** Joins: proteusguy (~proteus-g@1.47.32.241) [16:07:32] *** Quits: proteusguy (~proteus-g@1.47.32.241) (Ping timeout: 240 seconds) [19:01:07] *** Joins: proteusguy (~proteus-g@2405:9800:bc10:1ca:29aa:ab30:adc7:f599) [23:16:29] *** Joins: koom (~sirdancea@79.98.72.195)