Help:Adding a new compiler/interpreter: Difference between revisions
Help:Adding a new compiler/interpreter (view source)
Revision as of 01:29, 26 November 2007
, 16 years ago→Compiler/Interpreter Template?: Updated section
(→Creating a New Example: Fixed links to point to compiler, not compiler collection) |
(→Compiler/Interpreter Template?: Updated section) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 9:
<nowiki>
==
'''Compiler:''' [[gcc]] 4.0.1
Line 24:
If there's already a programming example written in a language your compiler supports, then all you need to do is ensure that the programming example works as expected in your compiler. Once you've determined that, you need only add your compiler to the list of compilers that support that code and that programming language.
Assuming you want to add Visual
<nowiki>
==
'''Compiler:''' [[
int main ( void ) {
// Some code here
Line 36:
<nowiki>
==
'''Compiler:''' [[
int main ( void ) {
// Some code here
Line 48:
If a programming example which mentions the compiler already exists, creating a compiler page is extremely simple. Just click on the link to the compiler link, and click "Create this article", on the resulting page. Add whatever information is appropriate, and end the article with the compiler template.
===
That's right.
Click Preview Page, and you can see what your page will look like. If it still looks somewhat sparse, and you don't have anything else to add, you can add <nowiki>{{stub}}</nowiki> to the page.
Cool, huh?
|