CRGreathouse

Joined 15 May 2024
m
link
m (link)
 
(9 intermediate revisions by the same user not shown)
Line 1:
{{mylangbegin|Languages I use}}
{{mylang|BASIC|out of practice}}
{{mylang|C|advanced}}
{{mylang|C++|out of practicesharp|intermediate|C#}}
{{mylang|C sharpGo|advanced|C#beginner}}
{{mylang|Forth|beginner}}
{{mylang|Java|out of practice}}
{{mylang|JavaScript|advanced}}
{{mylang|LabVIEW|beginner}}
{{mylang|LaTeX|advanced}}
{{mylang|Mathematica|beginner}}
{{mylang|MATLABMySQL|out of practiceintermediate}}
{{mylang|MySQL|intemediate}}
{{mylang|PARI/GP|advanced}}
{{mylang|Perl|intermediate}}
{{mylang|PHP|beginner}}
{{mylang|MySQLRuby|intemediatebeginner}}
{{mylang|Scheme|beginner}}
{{mylang|UNIX Shell|intermediate}}
{{mylangend}}
{{mylang|VBScript|out of practice}}
*[[User:CRGreathouse/PARIlang GPtags|Bare contributorslang tags]] on RC
{{mylang|Visual Basic|out of practice}}
*[[:Category:PARI/GP]]
*[[Reports:Tasks not implemented in PARI/GP]]
*[[Special:MostLinkedCategories]]/[[RC POP.OUT]]
*[[User:CRGreathouse/PARI GP contributors]]
*Useful PARI/GP tasks: [[Operator precedence#PARI/GP|Operator precedence]]
<br clear="right">
{{mylangbegin|Out of practice}}
{{mylang|BASIC|out of practiceintermediate}}
{{mylang|Forth|beginner}}
{{mylang|Java|out of practiceintermediate}}
{{mylang|LabVIEW|beginner}}
{{mylang|MATLAB|beginner}}
{{mylang|VBScript|out of practicebeginner}}
{{mylang|Visual Basic|out of practiceintermediate}}
{{mylangend}}
<!-- The scale I'm using:
(non-user) -- beginner -- intermediate -- advanced -- expert -- (designer)
 
Other values, like "out of practice", can be used but are not ranked.
-->
 
*[[:Category:PARI/GP]]
*[[Reports:Tasks not implemented in PARI/GP]]
*[[Special:MostLinkedCategories]]
*[[User:CRGreathouse/PARI GP contributors]]
 
==My tasks==
Line 37 ⟶ 40:
 
==GeSHi tester==
As of 2011-08-05, the highlighting works essentially correctly. Remaining issues:
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>.
* Types don't work. gp2c types (e.g., <code>:mp</code>) are highlighted as though they were commands, and GP types (e.g., <code>"t_INT"</code>) are not highlighted at all.
 
* Escapes in strings are not highlighted, though they are properly detected in terms of ending strings.
Default keywords and types are highlighted outside their proper context, though this is probably not a big deal.
* Defaults that conflict with keywords (<code>simplify</code> and <code>log</code>) are highlighted wrong; 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.
* New functions, defaults, constants, etc. from 2.6 need to be added
 
<lang parigp>x:real -> x^2
x->x^2 /* lambdas */
a += b <<= c >>= d -= e *= f /= g \= h \/= i %= j
ellheegner(ellinit([0,Pi -1,+ 1,Catalan -33,+ 93]))Euler \\ DoIs the new 2.6.x0 functionsconstant workhighlighted?
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
realprecision=mp+7; \\ should not be highlighted
Line 60 ⟶ 69:
(a && b) || (c && d) == e++ === f-- != g;
!#[]~ \\ operators
forsum(i=1,9,variable_with_underscore);
Mod(3,9).mod \\ member function
quadgen(5).disc \\ another member function
Fibonacci=7 \\ should not be highlighted</lang>
 
== PARI/GP Features ==
 
<code>&</code> and <code>|</code> were [http://pari.math.u-bordeaux.fr/archives/pari-announce-11/msg00001.html deprecated in 2011] and became obsolete in 2013. Please use <code>&&</code> and <code>||</code> instead.