ominfowave / google-code-prettify

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

Prolog language support (copied from Erlang) #273

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
As Erlang is derived from Prolog,
I adjusted the lang-erlang.js to be compatible with ISO-Prolog

Original issue reported on code.google.com by sebastia...@gmail.com on 25 Mar 2013 at 8:23

Attachments:

GoogleCodeExporter commented 9 years ago
Do the extra Erlang keywords make it unusable for Prolog?  If not, should I 
just add the prolog extensions to lang-erlang?

I think ".pl" is a common perl suffix.  How commonly used is it for prolog 
sources?

Original comment by mikesamuel@gmail.com on 26 Jun 2013 at 7:27

GoogleCodeExporter commented 9 years ago
Sorry I somehow didn't see your reply on this issue. I don't think that it 
should be a big problem, ".pl" is quite a common extension, but one can also 
use ".pro". I'll review my changes this weekend, is it ok to post .diff files 
based on the trunk SVN branch here?

Original comment by sebastia...@gmail.com on 2 May 2014 at 8:24

GoogleCodeExporter commented 9 years ago
By the way, I guess Prolog is "older" than Perl, but isn't there a way for a 
co-existence? I mean there are so many languages with the same file ending

Original comment by sebastia...@gmail.com on 2 May 2014 at 8:26