User:CRGreathouse: Difference between revisions
Content added Content deleted
(explain) |
(→GeSHi tester: weird) |
||
Line 39: | Line 39: | ||
So far (2011-07-11), comments and keywords work just fine (though the 2.6 ones have not been added and the two comment types are highlighted differently). gp2c types work except :real which conflicts with the function of the same name. GP types do not work. Default keywords work except the two that conflict with functions, <code>simplify</code> and <code>log.</code>. Embedded quotes and even string context work just fine. Operators are not highlighted, which means I don't have to care about special ones like <code>\/</code>. |
So far (2011-07-11), comments and keywords work just fine (though the 2.6 ones have not been added and the two comment types are highlighted differently). gp2c types work except :real which conflicts with the function of the same name. GP types do not work. Default keywords work except the two that conflict with functions, <code>simplify</code> and <code>log.</code>. Embedded quotes and even string context work just fine. Operators are not highlighted, which means I don't have to care about special ones like <code>\/</code>. |
||
Default keywords and types are highlighted outside their proper context, though this is probably not a big deal. |
Default keywords and types are highlighted outside their proper context, though this is probably not a big deal. I'm not sure why the member function <code>.mod</code> is highlighted; it's probably not a bad idea to add standard member functions but I didn't. |
||
<lang parigp>fibonacci(9) /* Is it working at all? */ |
<lang parigp>fibonacci(9) /* Is it working at all? */ |
||
Line 55: | Line 55: | ||
(a && b) || (c && d); |
(a && b) || (c && d); |
||
for(i=1,9,variable_with_underscore); |
for(i=1,9,variable_with_underscore); |
||
Mod(3,9).mod \\ member function |
Mod(3,9).mod \\ member function |
||
Fibonacci=7 \\ should not be highlighted</lang> |