I had a lot of work elsewhere for past 2 weeks. Working full days with a very painfull XML/EDIFACT standard - don't ask.
This was to be a small uneventful coding session, just to add word some to the validation dialect, so I can validate a list of dicts directly from the initial example. I also added few other basic functions and it became quite fun after I decided to also add new word pipe. Pipe is what I will now call factor-isms. Features, that at least partially try to mimic cool (stack based) features or benefits of Factor lang.
Factor (as other stack languages) have this interesting feature that you can directly cut a slice of words from existing code and without change define a new word that substitutes the slice. It's nice for re-factoring ... I suspect it even has something to do with the name.
pass that I used below is another, old rye's factor-ism. It's a little like keep combinator for non-stack languages :)
This is all quite specific stuff, if you want more basic view into the language you can visit the w.i.p. website.
EDIFACT, here I come again ...
Komentarji
Objavite komentar