CRGreathouse

Joined 15 May 2024
m
(→‎GeSHi tester: member function)
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>.
 
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? */