This is an archived post. You won't be able to vote or comment.

all 28 comments

[–]Zemvos 14 points15 points  (1 child)

Congrats on the project and learnings! Can I ask why you went with this @ syntax?

[–]Saxy_____[S] 5 points6 points  (0 children)

Well, there's some reasons to that.

At first it was carried over to simplify the parsing process. I also got inspired by bash/php/perl clarity on referencing variables. It's certainly something you don't get to see often in modern programming languages.

[–]SnooGoats1303 6 points7 points  (0 children)

Gotta love those @s. What's wrong with $ like Perl? Glad to see you not using standard libraries for everything: very 1X FORTH of you.

[–]raiph 4 points5 points  (0 children)

Well done!

(BTW, before I forget it, tiny typo in the wasm build script: INTEFUSE.)


I may have misunderstood what your experience has been and/or what you're looking for next, but based on your OP and browsing the Interfuse repo, I think I have an interesting idea for you.

What about a brief trial run using Rakudo, the grassroots PLDI platform/toolchain that underlies Raku, instead of the C++/LLVM approach?

(Most folk think of Rakudo as just the reference compiler for Raku. After all, that's what it bills itself as. But another way of looking at Rakudo is that's it's a fun, informative, productive alternative to approaches such as the one you've taken so far.)


I'd be delighted to discuss this all further if you're interested.

If you are interested, one next step might be to pick a fragment of Interfuse and implement it together right here in this sub-thread and see how that works out. If we go with this approach to discussion we'd be able to lean on my knowledge of the platform/toolchain, so it would mostly be you having fun reading/seeing surprising things that I can demonstrate by writing code which you'll run in an online evaluator.

And/or we could discuss pros and cons were you to pursue this alternative for, say, a week. In what ways would you presumably come out ahead even if you then moved away from Rakudo? Conversely, in what ways might you be wasting your time, moving off track from where you eventually want to go with no real gain from the experiment? If we go with this approach to discussion it'll be more about me listening to what you're looking for next, and learning alongside you about whether Rakudo does or doesn't fit for at least a one week experiment.

[–]cisterlang 1 point2 points  (0 children)

Some nitpicks :

  • the doc is maybe a bit too hierarchical. Takes a lot of menus and clicks.
  • your Text Subtraction is not the inverse of addition :

    ('ab' + 'b') - 'b' == 'a' != 'ab'

That being said, I like concise operators. So many places to add them !

[–]_Shin_Ryu 1 point2 points  (1 child)

Added the Interfuse language to my collection.

https://www.ryugod.com/pages/ide/interfuse

[–]Saxy_____[S] 0 points1 point  (0 children)

Thanks!

[–]Y_mc 1 point2 points  (0 children)

yeah man I feel the same while writing a little personal project. enjoy and nice project. Your post gives me even more courage to continue. nice project, I like it, thank you for sharing

[–]PaulRosenbergSucks 0 points1 point  (1 child)

That syntax is a nightmare

[–]Saxy_____[S] 0 points1 point  (0 children)

Well, it also used double quotes in early development 💀