Category talk:Programming Languages: Difference between revisions

(sql like pascal...? (haven't I already written it? forgot to do save or server prblm?))
(→‎adding a language: new section)
 
(17 intermediate revisions by 5 users not shown)
Line 13:
::: As a side-benefit, this allows us to identify language extensions as dialects of a language; Code that uses gcc extensions can be identified as using the GCC dialect of the language, while code that uses MSVC extension can be similarly categorized. the [[Template:works with|works with]] template is a horrible hack that resulted from needing to organize data without being able to properly define that organization. If we can obviate it without necessitating forty different templates per code example, I'd be really, really happy. --[[User:Short Circuit|Short Circuit]] 18:35, 28 April 2009 (UTC)
:::: This would mean also that all ''Pascal'' examples "working with" this or that "implementation" (gpc, FreePascal, TurboPascal...) should become ''dialects of''...? With Pascal, the template '''works with''' sufficed, or at least so it seemed to me. Maybe SQL after all fell in the same trap? --[[User:ShinTakezou|ShinTakezou]] 18:51, 28 April 2009 (UTC)
:::::I think BASIC has the same kind of thing going on. We need to work to distinguish dialects from implementations (if we want a distinction) if we want this to work. --[[User:Mwn3d|Mwn3d]] 19:17, 28 April 2009 (UTC)
::::: '''works with''' is particularly unsatisfactory to me because it provides information about a programming example without an effective way to organize that information in navigable categories. With separate dialect and implementation templates, the dialect category can be made a subcategory of the parent language, while at the same time being listed as supported by particular implementations. In this sense, one can identify C++98 as a dialect of C++, and identify which C++ implementations support the C++98 dialect. An implementation's nonstandard extensions or definition of a standard's undefined behavior (i.e. gcc C and C++ language extensions, or a Brainfuck compiler's particular interpretation of BF's rather loose standard) would count as their own dialect. (It's notable that such dialects don't necessarily have only one implementation; ActiveState Perl and the official Perl distribution, for example, both implement the same dialect of the language, as far as I'm aware.) --[[User:Short Circuit|Short Circuit]] 22:09, 28 April 2009 (UTC)
 
Although the site contains the page 'Category:BBC_BASIC' that language does not appear on the main Programming Languages page. How can that be resolved? --Richard Russell 09:28, 15 May 2011 (UTC)
: Hm. [[:Category:BBC BASIC|BBC BASIC]] is marked as an implementation of [[:Category:BASIC|BASIC]]. If you use {{tmpl|Language}} instead of {{tmpl|implementation}} on [[:Category:BBC BASIC]], it would be removed from being listed as an implementation, and instead be listed as a language of its own. The distinction between language implementations and derivative languages is difficult to be objective about, and not entirely clear; that's why we wind up with strange data organization quirks like these. --[[User:Short Circuit|Michael Mol]] 11:00, 15 May 2011 (UTC)
:: I'm confused. If one looks at, for example, the [[:Category:Liberty BASIC]] page it also has {{tmpl|implementation}} yet that '''is''' indexed under [[:Category:Programming Languages]] as well as under [[:Category:Implementations]]. --Richard Russell 13:32, 15 May 2011 (UTC)
::: That's because [[:Category:Liberty BASIC]] has both {{tmpl|implementation}} and {{tmpl|language}}. I'm really not sure of the best way to go about indexing BBC BASIC, but if you want to follow the model demonstrated by Liberty BASIC, that's fine too. (So you would add {{tmpl|language}} to [[:Category:BBC BASIC]]). --[[User:Short Circuit|Michael Mol]] 11:38, 17 May 2011 (UTC)
 
== ... Z M M ==
 
 
At the end of this page one sees:
<pre>
Z
Z80 Assembly
ZED
Zonnon
ZPL
ZX Spectrum Basic
 
Μ
ΜC++
 
М
МК-61/52
</pre>
What could (some)one do so that these languages appear under the capital M? --[[User:Walterpachl|Walterpachl]] ([[User talk:Walterpachl|talk]]) 13:35, 22 November 2013 (UTC)
 
-----
 
: The &nbsp; '''M''' &nbsp; in the &nbsp; '''MC++''' &nbsp; is really a Greek micro &nbsp; ('''µ''') &nbsp; which has been translated/transcribed to a Latin &nbsp; '''M''' &nbsp; somewhere along the way by something along the way, and where does one sort a Greek micro among a Latin alphabet?
 
: The &nbsp; '''MK''' &nbsp; in the &nbsp; '''MK-61/52''' &nbsp; is really a Cyrillic &nbsp; ('''МК''') &nbsp; ... (like above).
 
: For a little more information, see the comments in the REXX (language) section header. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 22:41, 22 November 2013 (UTC)
 
:: I understand that, but in other pages MK... finds is proper place among the other M's. See, e.g..
<pre>http://rosettacode.org/wiki/Primality_by_trial_division
* 48 M4 <#M4>
* 49 Maple <#Maple>
* 50 Mathematica <#Mathematica>
* 51 MATLAB <#MATLAB>
* 52 Maxima <#Maxima>
* 53 МК-61/52 <#.D0.9C.D0.9A-61.2F52>
* 54 MUMPS <#MUMPS></pre>
--[[User:Walterpachl|Walterpachl]] ([[User talk:Walterpachl|talk]]) 23:04, 22 November 2013 (UTC)
 
::: Well, I can't speak for Wiki (or whatever is formatting all this (and that), but for what I can tell (or remember), the first foray by MK-61/52 may have used Cyrillic or some other font which may have sorted correctly, and then appeared to use a meta-tag or whatever. &nbsp; I know about this as much as I know about beekeeping. &nbsp; Not a hill of beans. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 23:17, 22 November 2013 (UTC)
 
::: Also, the sorting code that arranges the category lists may be a different sort program (or a different algorithm) that sorts the list of languages for entries under a Rosetta Code task &nbsp; (just stumbling around in the dark). -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 23:23, 22 November 2013 (UTC)
 
== adding a language ==
 
I want to add an entry to 99 bottles of beer on the wall, in Small Basic.
I think I need to add the Small Basic language first but don't know how.
1

edit