Saturday, November 24, 2018

Increase Erectile Dysfunctional Weirdness


TEXT FISH NEWS is a social patch sharing platform like MASS SHNTH BOG. But it is also a tactic to avoid scams; only code conforming to the rules of fishiness may pass to the post. So you may be able to post spam textes such as (horn finger (dust (salt horse 2018))), if that means anything to your company.

An attempt at a spam-like patch


The rules of fishiness:
  • comments are a bare newline, or that begun with semi-colon ;with stuff in between
  • balanced expressions: fish () soup {} tank [] boat <>
  • guts are numbers or a magical word from the shlisp dictionary
What to do about spam? As an experimental technique in the future, we may incorporate spam into the opcode matrix philosophy, and such spammy expressions manifest:

;(increase erectile dysfuntional weirdness)

About Hacking

It's funny to me, I felt like I was hacking, but to a set, non-hacking result, a formal language definition. In Perl, I had to learn how to bless data as a class, to achieve polymorphic results. The parser is simply a regex:

while ($texte=~ /(\n|;[^\n]+\n)|([\{\(\[\<;])|([+\w-]+)|([\}\)\]\>;])/g)

So there is an interesting overlay of duck-typing, magical escaping, and OOP. My Javascript employs all the natural functions that already exist for drag and drop, so you could even edit it on the site before you upload it.

To this point I've created the shlisp opcodes in ARM assembly, coded command-line interpreter in c, programmed an editor uploader in C++, created sound games in SDL. Now, add to that list a dummy interpreter for the sake of editing in Javascript, and a dummy interpreter in Perl, for the sake of security against bots.

Comparison of same patch in editor and web

5 comments:

  1. If you want to buy purple smoke grenade at affordable rates, then Gender Reveal Party Supplies is right choice for you.

    ReplyDelete
  2. You really should give this very unknown transpiler called Haxe a go. it's totally open source. Normally transpiler generate boilerplate code, which is the opposite of what haxe will do. but also you can optimize with inlining. It has inference, generics ductyping and last but not least templates like they should have been done (without being hard to debug, full control over the AST, thats you generating code with real code). it does functional programming, oop, or just procedural. Abstract datatypes, structs, nice typedefs, mixins that arent hacky but surreal simple, but that still sounds basically a hodgepodge of all the known existing features known to mankind that cannot be interesting, jack of all master of none right? Well it doesnt corner you, yet it still helps you. But its a master of all. "Cant" I hear you. It does! But it offers way more, stuff thats unique but so inrcedibly useful. Sounds to good to be true..

    So would that be it? There is so much to like that everything I write feels like downgrading it there is nothing like it thats why.

    But just one thing. Imagine having all of those features in a computer language to be able to compile to C code (but with memmory management and garbage collection if you like that). To C++. php, python (several version), lua (several version), php (7), javascript (also ES6), java, jdm(!), etc, etc.

    So you have 1 code base. The FFI is so incredibly elegant and simple. It actually can transpile to C beating handoptimized code in performance. Which is a testament of its elegance. There arent many transpilers, none of them are so elegant so out of the way yet helpful.

    ReplyDelete
  3. >>>

    I was using actionscript the scripting language of flash, basically ecmascript 1.1, 2.0 and 3) but it bothered me it wasnt open source. Purely coincidental I browsed across the predecessor of Haxe, an open source compiler for flash. Gave it a wirl, was ten times as fast as that big corporate compiler from macromedia. It even had features far beyond the corpo one, made by some guy in one year in his spare time. Amazing that guy.

    So than he pulled of haxe. it's now almost 20 years old and very mature, well documented. Anyways haxe came out for the first time and it had this new language that offered ducktyping, inferance, class based inheritance and then some. Basicallyfelt like jave done proper. You didnt have to repat yourself, dint forced you to write boiler plate. But the cool thing was since it haxe language code compiled to actionscript by the time the plug was pulled on flash (and thus actionscript) I still had all my code in haxe, just compiled it to javascript. No code lost. I have a nice code base after so many years. USe it for all kinds of different targets, scripts, programming languages, clientside server side. In a flick of a switch I port my code to a differnt target. it's so easy to use some library, cook up an FFI (it's so simple and so elegant like almost everything that guy makes, and I am very hard to please). But mostly I made my own libraries with haxe, because then these libraries work in all languages. Imagine JQuery running on a plethoria of languages. I like my own written dependancies also better.

    Anyways, it could be ofcourse this is me some guy being so enthousiastic about it and maybe its nothing for you. But maybe it is something totally for you. It's like blue cheese, marmite or Guiness, you'll have an opinion on it for good or bad. I am typically the one that loves blue cheese, marmite and guiness.

    Some would say code is just code, as long as it does the job. But its untrue, code isnt just code when you have to write the same stuff again and again for some other device, cloient code, server code, etc. A client that generates data on the client, server side code that reads it having to do boring stuff twice. or the example I gave about actionscript. Nothing of that.

    I understand the elegance of languages, I have descibed langauges in Extended Backus–Naur form. Still, give it whatever little time you plan to give it, if you like it you wished there was someone telling you decades ago..

    ReplyDelete
  4. forgot to post the link, sry

    https://haxe.org/

    ReplyDelete
  5. Or in a nutshell, when languages dont get in your way yet prevent you from errors, you deciding how much security blankets you want, so readable and you dont have to repeat yourself, you start caring much more about what you write and enjoy that you really can reuse it so many times and improve it. Will compile on anything, to almost anything, feels more portable than anything you ever used. Yet you can use all target dependant libraries including SDl if you wanted too.

    ReplyDelete