Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

sexpcode

Name: Anonymous 2018-10-07 12:14

How did you implement sexpcode? Did you really bother with function composition and define or do you just use a FFI to call Xarn's code?

Name: Admin ★ 2018-10-07 14:10

Well this site is written in PHP (yes), and Xarn already had written a sexpcode plugin for wordpress. So I just ported that as a class and used it here.

I don't actually program or even use PHP, but when I added his plugin, it constantly outputted warnings. I don't know if it's my fault or not, but I had to change a good amount of it. I also removed some of its features because I either didn't care about them, or because they got broken in the process.

Mainly these were changed:
  • Higher-Arity functions: Basically functions that take arguments like url, or code. The url one isn't supported as a bbcode due to abuse anyway, so this feature is completely gone.
  • img function: completely gone.
  • Alternative Verbatim syntax: I forgot what the exact problem with this one was, but it kept breaking valid sexpcode because somewhere this syntax made everything become verbatim.

Here's his code: https://github.com/Cairnarvon/SexpCode-for-WordPress/blob/master/sexpcode.php

Name: Anonymous 2018-10-08 0:05

>>2
I forgot about the wordpress plugin, when I googled it I found some C code.

It's a nice little software, thanks for it. We have the archive, the same user experience we had on shiichan and sexpcode!

So you took tinychan and turned it into a 2ch clone? I've never used tinychan, wasn'it hosted by 4chan a long time ago?

Name: Admin ★ 2018-10-08 9:09

>>3
So you took tinychan and turned it into a 2ch clone?
Nope. Software was written from scratch.

wasn'it hosted by 4chan a long time ago?
It was, but only for less than a year.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List