00:09 arkiuat left 00:21 arkiuat joined 00:26 arkiuat left 00:54 arkiuat joined 00:59 arkiuat left 01:28 arkiuat joined 01:32 arkiuat left 01:41 sibl joined 01:57 arkiuat joined 02:01 arkiuat left 02:02 arkiuat joined 02:06 arkiuat left 02:25 ACfromTX left 02:35 arkiuat joined 02:38 ACfromTX joined 02:40 arkiuat left 02:55 arkiuat joined 03:02 arkiuat left 03:09 arkiuat joined 05:50 kjp left 05:51 kjp joined 05:52 kjp left 05:53 kjp joined 06:35 sibl left
korvo I'm preparing to parse my LangJam language. Is the following example something that I could reasonably parse with a slang? If not, are there some easy tweaks to make it into a slang? gist.github.com/MostAwesomeDude/c5...875a3a170f 06:53
(The scenario is some artistic critique of capitalism, written by a friend. I'm at the point where I need to fix the syntax so that they can express the rest of the scenario.) 06:54
Oh, I already found one mistake; Raku prefers scientific notation for big numbers. I do want to reuse Raku expression syntax and arithmetic. 06:59
disbot6 <rcmlz> @antononcube Is it possible to run Ollama as backend in Jupyter::Chatbook? e.g. by setting environment variable export OLLAMA_HOST=127.0.0.1:11434 and then use that as I would normally use OPENAI_API_KEY - sort of automatically? 07:19
<rcmlz> If we want to have “out of the box working Raku LLM demos” having a local service as backend seems to me a good choice 07:22
07:47 sibl joined
ab5tract korvo: Slangify appears to make it as simple as providing a grammar and an action : raku.land/zef:lizmat/Slangify 07:48
I haven't actually used it yet, but its already powering quite a few slangs
korvo ab5tract: Yeah! I also looked at packages like OO::Actors which are even simpler than that. 07:49
ab5tract It depends on your definition of simple, I guess. OO::Actors does add a keyword or two but I'm not sure that it considers itself a slang 07:58
If you don't already have a grammar or an actions class, then yeah that approach almost certainly is simpler, or at least less work 07:59
SmokeMachine also has a few modules that add additional keywords, IIRC 08:00
(auth:fez:<FCO>)
borked the syntax there but I hope you catch my meaning 08:01
korvo Thanks for the pointers. I'm fairly flexible on the actual syntax that I use. I'm kind of going for minimal effort; I have to technically create a new language and I figure that a slang is technically a new language. 08:17
I suppose I'm also wondering exactly how declarative a slang can be. 08:20
08:44 librasteve_ joined 09:13 dakkar joined 09:20 arkiuat_ joined 09:22 arkiuat left 09:27 arkiuat_ left 09:35 arkiuat joined 09:41 arkiuat left 09:45 arkiuat joined 09:53 arkiuat_ joined 09:55 arkiuat left 10:00 arkiuat_ left 10:04 sibl left, arkiuat joined
disbot6 <antononcube> @rcmlz I have to program an Ollama client in Raku. It is not that hard. (I think.) 10:13
<antononcube> The “Ollama::Client” package will have Linux, macOS, and Windows binaries in its resources. 10:14
10:14 arkiuat left
disbot6 <antononcube> I am not sure about the package name… 10:15
<antononcube> @rcmlz Thanks for asking / reminding me about this? 10:16
10:28 snonux left 10:35 sibl joined 10:37 arkiuat joined
SmokeMachine korvo: if I was trying to implement that code you shared, I would probably start doing some custom ClassHOW keywords. An simple example for that I would say that is this module: github.com/FCO/ValueClass 10:49
10:53 sibl left, arkiuat_ joined 10:55 arkiuat left 10:58 arkiuat_ left, arkiuat joined 11:03 snonux joined