diff options
author | Benoit Vey <benoit.vey@etu.upmc.fr> | 2016-07-25 07:10:17 +0200 |
---|---|---|
committer | Benoit Vey <benoit.vey@etu.upmc.fr> | 2016-07-25 07:10:17 +0200 |
commit | 836d98cc163ea0dcb1b60ef1e536fdacb351d78a (patch) | |
tree | f6dafe20f5e703dd93e28b30fa77890f60e96d76 /tests | |
parent | 421263e90981c08119640d280af96550e9f5fd05 (diff) | |
download | pygments-836d98cc163ea0dcb1b60ef1e536fdacb351d78a.tar.gz |
Add lexer for the Pony language
Diffstat (limited to 'tests')
-rw-r--r-- | tests/examplefiles/example.pony | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/examplefiles/example.pony b/tests/examplefiles/example.pony new file mode 100644 index 00000000..654f2376 --- /dev/null +++ b/tests/examplefiles/example.pony @@ -0,0 +1,18 @@ +use "somepkg" + +/* + /* Nested */ +*/ + +class trn Foo[A: Stringable ref] is Stringable + let _x = "\"" + + fun val dofoo() => + """ + DocString + """ + (U64(2), "foo")._2 + +actor Main + new create(env: Env) => + env.out.print("Hello world") |