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 | 7c87d13eebd82cc93725ee10521fd2239a4f74b4 (patch) | |
| tree | 27eaf88fffcf774035d0430eb1bd2c7032f039a9 /tests/examplefiles/example.pony | |
| parent | 352f10d4f5802c8ed80a4062e1bc2f0986866b8a (diff) | |
| download | pygments-git-7c87d13eebd82cc93725ee10521fd2239a4f74b4.tar.gz | |
Add lexer for the Pony language
Diffstat (limited to 'tests/examplefiles/example.pony')
| -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") |
