Heeby / google-code-prettify

Automatically exported from code.google.com/p/google-code-prettify
Apache License 2.0
0 stars 0 forks source link

Syntax highlight for Haxe #282

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Could we get syntax highlighting for Haxe[1]? 

It's a language from 2006 that still seems to be in use.

(Someone asked for it  here[2])

[1]: http://en.wikipedia.org/wiki/Haxe
[2]: http://meta.stackoverflow.com/questions/178284/

Original issue reported on code.google.com by manishsm...@gmail.com on 29 Apr 2013 at 6:12

GoogleCodeExporter commented 8 years ago
The main syntax error is it wont display compiler directives correctly. It 
highlights others but with the core lexer present in prettify.js

Original comment by sriharshachilakapati@gmail.com on 29 Apr 2013 at 6:51

GoogleCodeExporter commented 8 years ago
Here's my extension for the language.

Original comment by sriharshachilakapati@gmail.com on 30 Apr 2013 at 1:32

GoogleCodeExporter commented 8 years ago
Here's the updated extension. I've forgot some keywords in the old one.

Original comment by sriharshachilakapati@gmail.com on 2 May 2013 at 5:33

Attachments:

GoogleCodeExporter commented 8 years ago
Do you have any testcases for Haxe source?

Original comment by mikesamuel@gmail.com on 26 Jun 2013 at 5:39

GoogleCodeExporter commented 8 years ago
@mikesamuel

I don't have any testcases but this is working for me on my site. 
http://crosslanguagegametutorial.weebly.com/

Original comment by sriharshachilakapati@gmail.com on 29 Jun 2013 at 2:28