An open API service indexing awesome lists of open source software.

https://github.com/disjukr/exah

simple irc bot that execute haxe snippet
https://github.com/disjukr/exah

Last synced: 2 months ago
JSON representation

simple irc bot that execute haxe snippet

Awesome Lists containing this project

README

        

exah
===
simple irc bot that execute Haxe snippet.

it doesn't consider any security issues.
please do not abuse it :)

Prerequisite: Haxe (with NekoVM), node.js

How to run it
---
```sh
npm install .
node exah.js
```
modify `config.cson` to set the server, nick, etc...

Run haxe code on irc
---
```irc
exah, trace("Hello, World!");
Exah.hx:3: Hello, World!
```

Hacks exaH
---
print without debug info:
```irc
exah, neko.Lib.print("Haxe, World!");
Haxe, World!
```

define a class:
```irc
exah, new A();}} class A { public function new() { neko.Lib.print('$A');
{ __name__ => [A], __construct__ => #function:0, prototype => { __class__ => { __name__ => [A], __construct__ => #function:0, prototype => { __class__ => { __name__ => [A], __construct__ => #function:0, prototype => { __class__ => <...>, __serialize => <...> }, __ct__ => #abstract, new => #function:0 }, __serialize => #function:0 }, __ct__ => #abstract, new => #function:0 }, __serialize => #function:0 }, __ct__ => #abstract, new => #function:0 }
```