User:CRGreathouse: Difference between revisions

Content added Content deleted
(highlighting update)
(bare lang tags; 2.6.0 updates)
Line 26: Line 26:
-->
-->


*[[User:CRGreathouse/lang tags|Bare lang tags]] on RC
*[[:Category:PARI/GP]]
*[[:Category:PARI/GP]]
*[[Reports:Tasks not implemented in PARI/GP]]
*[[Reports:Tasks not implemented in PARI/GP]]
Line 43: Line 44:
* 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.
* Colors should probably be changed (my fault!); member functions and strings are too conspicuous and defaults and error types are not conspicuous enough. Maybe a desaturated green for strings and switch the blue-violet used for defaults and errors with the purple of the member functions.
* Colors should probably be changed (my fault!); member functions and strings are too conspicuous and defaults and error types are not conspicuous enough. Maybe a desaturated green for strings and switch the blue-violet used for defaults and errors with the purple of the member functions.
* New functions, defaults, constants, etc. from 2.6 need to be added


<lang parigp>x:real -> x^2
<lang parigp>x:real -> x^2
x->x^2 /* lambdas */
x->x^2 /* lambdas */
a += b <<= c >>= d -= e *= f /= g \= h \/= i %= j
a += b <<= c >>= d -= e *= f /= g \= h \/= i %= j
ellheegner(ellinit([0, -1, 1, -33, 93])) \\ Do the 2.6.x functions work?
Pi + Catalan + Euler \\ Is the new 2.6.0 constant highlighted?
func26 = [ellheegner,cmp,getenv] \\ Are the new 2.6.x functions working?
default(linewrap, 0) \\ Is the new 2.6.0 default working?
myFunc(x:real, y:mp, z:int)=[x,y,z]; \\ gp2c types, including one that conflicts with a function
myFunc(x:real, y:mp, z:int)=[x,y,z]; \\ gp2c types, including one that conflicts with a function
realprecision=mp+7; \\ should not be highlighted
realprecision=mp+7; \\ should not be highlighted
Line 63: Line 67:
(a && b) || (c && d) == e++ === f-- != g;
(a && b) || (c && d) == e++ === f-- != g;
!#[]~ \\ operators
!#[]~ \\ operators
for(i=1,9,variable_with_underscore);
sum(i=1,9,variable_with_underscore);
Mod(3,9).mod \\ member function
Mod(3,9).mod \\ member function
quadgen(5).disc \\ another member function
quadgen(5).disc \\ another member function