ഉള്ളടക്കത്തിലേക്ക് പോവുക

അഡ (പ്രോഗ്രാമിങ് ഭാഷ)

വിക്കിപീഡിയ, ഒരു സ്വതന്ത്ര വിജ്ഞാനകോശം.
(Ada (programming language) എന്ന താളിൽ നിന്നും തിരിച്ചുവിട്ടതു പ്രകാരം)
അഡ
ശൈലി:Multi-paradigm
പുറത്തുവന്ന വർഷം:ഫെബ്രുവരി 1980; 45 വർഷങ്ങൾ മുമ്പ്}}|Error: first parameter is missing.}} (1980-02)
രൂപകൽപ്പന ചെയ്തത്:* MIL-STD-1815/Ada 83: Jean Ichbiah
  • Ada 95: Tucker Taft
  • Ada 2005: Tucker Taft
  • Ada 2012: Tucker Taft
ഏറ്റവും പുതിയ പതിപ്പ്:Ada 2012 TC1[1][2]/ ഫെബ്രുവരി 1, 2016; 9 years ago
  • {{Time ago|timestamp}}

The timestamp can be almost any solid, readable format but to avoid ambiguity mistakes, one of the styles below is preferred.

  • magnitude parameter can be set to explicitly use certain unit. Allowed values are: seconds, minutes, hours, days, weeks, months and years.
  • min_magnitude parameter can be set to use the specified unit or bigger units. Allowed values are: seconds, minutes, hours, days, months and years.
  • ago parameter can be set to override the default usage of the text "ago". If the parameter is blank but not missing (i.e. {{time ago|2008|ago=}}), then the text "ago" is suppressed altogether. For future dates, setting "ago" as blank but not missing will suppress the text "time" (i.e. "2 years" instead of "2 years' time").

Spelling out numbers

[തിരുത്തുക]

Numbers from 1 to 100 can be spelled out in their equivalent English word by using the spellout parameter. If spellout is set to "yes", "y", "true" or "1", all numbers from 1 to 100 will be spelled out. If spellout is set to "auto", only numbers from 1 to 9 will be spelled out, as per the recommendations at .

It is also possible to set a custom maximum value for spelling out by using the spelloutmax parameter. For example, setting |spellout=yes and |spelloutmax=24 will result in all numbers less than or equal to 24 being spelled out, and all numbers greater than 24 appearing as numerals.

Add |numeric=y to print the number only (no text).

Add the parameter |purge=yes to add a purge link.

  • {{Time ago|-83 minutes}}ഫലകക്കുരുക്ക് കണ്ടെത്തിയിരിക്കുന്നു: ഫലകം:Time ago
  • {{Time ago|-334 minutes}}ഫലകക്കുരുക്ക് കണ്ടെത്തിയിരിക്കുന്നു: ഫലകം:Time ago
  • {{Time ago|+334 minutes}}ഫലകക്കുരുക്ക് കണ്ടെത്തിയിരിക്കുന്നു: ഫലകം:Time ago
  • {{Time ago|-334 minutes|ago=}}ഫലകക്കുരുക്ക് കണ്ടെത്തിയിരിക്കുന്നു: ഫലകം:Time ago
  • {{Time ago|1901}}ഫലകക്കുരുക്ക് കണ്ടെത്തിയിരിക്കുന്നു: ഫലകം:Time ago
  • {{Time ago|{{REVISIONTIMESTAMP}}}}ഫലകക്കുരുക്ക് കണ്ടെത്തിയിരിക്കുന്നു: ഫലകം:Time ago
  • {{Time ago|Jan 21, 2001 3:45 PM}}ഫലകക്കുരുക്ക് കണ്ടെത്തിയിരിക്കുന്നു: ഫലകം:Time ago
  • Wrong: {{Time ago|3:45 pm, 21 Jan 2001}}ഫലകക്കുരുക്ക് കണ്ടെത്തിയിരിക്കുന്നു: ഫലകം:Time ago
  • {{Time ago|20010121154500}}ഫലകക്കുരുക്ക് കണ്ടെത്തിയിരിക്കുന്നു: ഫലകം:Time ago
  • {{Time ago|Nov 6 2008}}ഫലകക്കുരുക്ക് കണ്ടെത്തിയിരിക്കുന്നു: ഫലകം:Time ago
  • {{Time ago|Nov 6 2008|magnitude=weeks}}ഫലകക്കുരുക്ക് കണ്ടെത്തിയിരിക്കുന്നു: ഫലകം:Time ago
  • {{Time ago|Nov 6 2008|min_magnitude=days}}ഫലകക്കുരുക്ക് കണ്ടെത്തിയിരിക്കുന്നു: ഫലകം:Time ago
  • {{Time ago|Nov 6 2008|min_magnitude=years}}ഫലകക്കുരുക്ക് കണ്ടെത്തിയിരിക്കുന്നു: ഫലകം:Time ago
  • {{Time ago|Nov 6 2008|ago=in the past}}ഫലകക്കുരുക്ക് കണ്ടെത്തിയിരിക്കുന്നു: ഫലകം:Time ago
  • {{Time ago|Nov 6 2008|purge=yes}}ഫലകക്കുരുക്ക് കണ്ടെത്തിയിരിക്കുന്നു: ഫലകം:Time ago
  • {{Time ago|2008-11-06}}ഫലകക്കുരുക്ക് കണ്ടെത്തിയിരിക്കുന്നു: ഫലകം:Time ago
  • {{Time ago| June 1, 2009|spellout=yes}}ഫലകക്കുരുക്ക് കണ്ടെത്തിയിരിക്കുന്നു: ഫലകം:Time ago
  • {{Time ago| June 1, 1999|spellout=yes}}ഫലകക്കുരുക്ക് കണ്ടെത്തിയിരിക്കുന്നു: ഫലകം:Time ago
  • {{Time ago| June 1, 2009|spellout=auto}}ഫലകക്കുരുക്ക് കണ്ടെത്തിയിരിക്കുന്നു: ഫലകം:Time ago
  • {{Time ago| June 1, 1999|spellout=auto}}ഫലകക്കുരുക്ക് കണ്ടെത്തിയിരിക്കുന്നു: ഫലകം:Time ago
  • {{Time ago| June 1, 1989|spellout=yes|spelloutmax=15}}ഫലകക്കുരുക്ക് കണ്ടെത്തിയിരിക്കുന്നു: ഫലകം:Time ago
  • {{Time ago| June 1, 1989|spellout=yes|spelloutmax=25}}ഫലകക്കുരുക്ക് കണ്ടെത്തിയിരിക്കുന്നു: ഫലകം:Time ago
  • {{Time ago|195909}}ഫലകക്കുരുക്ക് കണ്ടെത്തിയിരിക്കുന്നു: ഫലകം:Time ago
  • Wrong: {{Time ago|196009}}ഫലകക്കുരുക്ക് കണ്ടെത്തിയിരിക്കുന്നു: ഫലകം:Time ago
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:അഡ (പ്രോഗ്രാമിങ് ഭാഷ) in articles based on its TemplateData.

TemplateData for അഡ (പ്രോഗ്രാമിങ് ഭാഷ)

This template calculates the amount of time which has passed since a provided timestamp.

ഫലകത്തിനുള്ള ചരങ്ങൾ[ടെമ്പ്ലേറ്റ്‌ഡേറ്റ കൈകാര്യം ചെയ്യുക]

ചരംവിവരണംതരംസ്ഥിതി
Timestamp1

Base timestamp for calculation of passed time. Example format: Nov 6 2008, see template documentation for other supported formats.

പദംആവശ്യമാണ്
magnitudemagnitude

Explicitly sets a specific unit to display return value. Allowed values are: seconds, minutes, hours, days, weeks, months and years.

പദംഐച്ഛികം
min_magnitudemin_magnitude

Sets a minimum unit to display return value. Allowed values are: seconds, minutes, hours, days, months and years.

പദംഐച്ഛികം
agoago

Override the default usage of the text 'ago'. If it is blank but not missing then 'ago' will be removed completely; for future dates, this will remove the text 'time' as well.

പദംഐച്ഛികം
Purge linkpurge

Add the parameter purge=yes to add a WP:PURGE link.

പദംഐച്ഛികം
Spell out numbersspellout

If set to "yes", "y", "true" or "1", numbers from 1 to 100 are spelled out as English words. If set to "auto", numbers from 1 to 9 are spelled out.

വരിഐച്ഛികം
Spell out maxspelloutmax

The maximum number to be spelled out as an English word.

എണ്ണംഐച്ഛികം
ഡാറ്റാടൈപ്പ് ചിട്ട:static, strong, safe, nominative
പ്രധാന രൂപങ്ങൾ:AdaCore GNAT (free download: http://libre.adacore.com/download),
Green Hills Software Optimising Ada 95 compiler,
PTC, Inc. PTC ApexAda and PTC ObjectAda,[3]
"MapuSoft Ada-C/C++ changer"., previously known as "AdaMagic with C Intermediate",[4]
DDC-I Score
വകഭേദങ്ങൾ:SPARK, Ravenscar profile
സ്വാധീനിക്കപ്പെട്ടത്:ALGOL 68, Pascal, C++ (Ada 95), Smalltalk (Ada 95), Modula-2 (Ada 95) Java (Ada 2005), Eiffel (Ada 2012)
സ്വാധീനിച്ചത്:C++, Chapel,[5] "Drago". Archived from the original on 2020-09-14. Retrieved 2019-06-08., Eiffel, "Griffin"., Java, Nim, ParaSail, PL/SQL, PL/pgSQL, Ruby, Seed7, "SPARforte"., Sparkel, SQL/PSM, VHDL
ഓപറേറ്റിങ്ങ് സിസ്റ്റം:Cross-platform (multi-platform)
വെബ് വിലാസം:www.adaic.org

പാസ്കലിന്റെയും മറ്റ് ഭാഷകളിലുമൊക്കെ വിന്യസിച്ച, ഘടനാപരമായ, സ്റ്റാറ്റിക്കലി ടൈപ്പ് ചെയ്ത, ഇംപെറേറ്റീവ്, ഒബ്ജക്റ്റ് ഓറിയെന്റഡ് ഹൈ-ലെവൽ കമ്പ്യൂട്ടർ പ്രോഗ്രാമിങ് ഭാഷയാണ് അഡ. ഡിസൈൻ-ബൈ-കോൺട്രാക്റ്റിന്, ശക്തമായ ടൈപ്പിംഗ്, സ്പഷ്ടമായ ഒത്തുചേർക്കൽ, ടാസ്ക്കുകൾ, സിൻക്രൊണസ് മെസ്സേജ് പാസിംഗ്, പരിരക്ഷിത വസ്തുക്കൾ, നോൺ ഡിറ്റർറിനിസം എന്നിവയ്ക്ക് ബിൽറ്റ്-ഇൻ ഭാഷ പിന്തുണയുണ്ട്. പ്രവർത്തന സമയത്തു് പിശകുകൾ കണ്ടെത്തുന്നതിനായി കംപൈലർ ഉപയോഗിച്ചു് കോഡ് സുരക്ഷയും പരിപാലനവും മെച്ചപ്പെടുത്തുന്നു. അഡ അന്താരാഷ്ട്ര നിലവാരത്തിലുള്ളതാണ്; നിലവിലുള്ള പതിപ്പ് (അഡ 2012 [6]എന്ന് അറിയപ്പെടുന്നു) ISO / IEC 8652: 2012 നിർവ്വചിച്ചിരിക്കുന്നു.[7]

സി.ഐ.ഡി. ഹണിവെൽ ബെല്ലിലെ ഫ്രഞ്ച് കമ്പ്യൂട്ടർ ശാസ്ത്രജ്ഞൻ ജീൻ ഇക്ബയ്യയുടെ നേതൃത്വത്തിലുള്ള ഒരു സംഘമാണ് അഡ ആദ്യം രൂപകൽപ്പന ചെയ്തത്, യുഎസ് ഡിപ്പാർട്ട്മെന്റ് ഓഫ് ഡിഫെൻസ് (DoD) കരാർ പ്രകാരം 1977 മുതൽ 1983 വരെ ഡോഡ് ഉപയോഗിച്ചിരുന്ന 450 ലധികം പ്രോഗ്രാമിങ് ഭാഷകൾ നിരാകരിച്ചിരുന്നു.[8] ആദ്യത്തെ കമ്പ്യൂട്ടർ പ്രോഗ്രാമറായ അഡ ലവ്‌ലേസിന്റെ(1815 -1852)പേരാണ് ഈ പ്രോഗ്രാമിംഗ് ഭാഷക്ക് നൽകയിരിക്കുന്നത്.[9]

സവിശേഷതകൾ

[തിരുത്തുക]

അഡ യഥാർത്ഥത്തിൽ ലക്ഷ്യമിട്ടത് എംബെഡഡ്, തത്സമയ സിസ്റ്റങ്ങളിലുള്ളതുമായിരുന്നു. അഡ 95 റിവിഷൻ, എസ്.ടക്കർ ടഫ്റ്റ് ഓഫ് ഇന്റേമെട്രിക്സ് 1992 നും 1995 നും ഇടയ്ക്ക് രൂപപ്പെടുത്തി, സിസ്റ്റങ്ങളുടെ മെച്ചപ്പെട്ട പിന്തുണ, സംഖ്യകൾ, സാമ്പത്തികം, ഒബ്ജക്റ്റ് ഓറിയെന്റഡ് പ്രോഗ്രാമിങ് (OOP)എന്നിവ ഇതിന്റെ പ്രത്യേകതയാണ്.

അഡയുടെ സവിശേഷതകൾ ഇവയാണ്: ശക്തമായ ടൈപ്പിങ്, മോഡുലറിറ്റി മെക്കാനിസങ്ങൾ (പാക്കേജുകൾ), റൺ-ടൈം പരിശോധന, സമാന്തര പ്രോസസ്സിംഗ് (ടാസ്കുകൾ, സിൻക്രൊണസ് മെസ്സേജ് പാസിംഗ്, പരിരക്ഷിത വസ്തുക്കൾ, നോൺഡെറ്റമിനിസ്റ്റ് സെലക്ട് സ്റ്റേറ്റ്മെന്റുകൾ), എക്സെപക്ഷൻ കൈകാര്യം ചെയ്യൽ, ജനറിക്സ് മുതലായവ.

അഡയുടെ വാക്യഘടന അടിസ്ഥാന പ്രവർത്തനങ്ങൾ നടത്താനുള്ള വഴികൾ തിരഞ്ഞെടുപ്പിനെ ലളിതമാക്കുന്നു, കൂടാതെ ഇംഗ്ലീഷ് കീവേഡുകളെ ("or else" and "and then") ചിഹ്നങ്ങളിലേക്ക് ("||", "&&" പോലുള്ളവ).അഡാ അടിസ്ഥാന ഗണിത ചിഹ്നങ്ങളായ "+", "-", "*", "/" എന്നിവ ഉപയോഗിക്കുന്നു, പക്ഷേ മറ്റ് ചിഹ്നങ്ങൾ ഉപയോഗിക്കുന്നത് ഒഴിവാക്കുന്നു. കോഡ് ബ്ലോക്കുകൾ "declare", "begin", "end" തുടങ്ങിയ വാക്കുകളാൽ വേർതിരിച്ചിരിക്കുന്നു, അവിടെ "end" (മിക്ക കേസുകളിലും) അത് ക്ലോസസ് ബ്ലോക്കിന്റെ ഐഡന്റിഫയറിനെ പിന്തുടരുന്നു (e.g., if ... end if, loop ... end loop). സോപാധികമായ ബ്ലോക്കുകളുടെ കാര്യത്തിൽ, സി അല്ലെങ്കിൽ ജാവ പോലുള്ള മറ്റ് ഭാഷകളിലെ തെറ്റായ നെസ്റ്റഡ് ഇഫ്-എക്സ്പ്രഷനുമായി ജോടിയാക്കാൻ കഴിയുന്ന ഡാങ്ക്ളിംഗ് എൽസിനെ(dangling else) ഒഴിവാക്കുന്നു.

വളരെ വലിയ സോഫ്റ്റ്വെയർ സിസ്റ്റങ്ങൾ വികസിപ്പിക്കുന്നതിനാണ് അഡ രൂപകൽപ്പന ചെയ്തിരിക്കുന്നത്. അഡാ പാക്കേജുകൾ പ്രത്യേകം കംപൈൽ ചെയ്യാം. സ്ഥിരത പരിശോധിക്കുന്നതിനായി നടപ്പാക്കാതെ തന്നെ അഡാ പാക്കേജ് സവിശേഷതകളും (പാക്കേജ് ഇന്റർഫേസ്) പ്രത്യേകം കംപൈൽ ചെയ്യാൻ കഴിയും. നടപ്പാക്കൽ ആരംഭിക്കുന്നതിന് മുമ്പ്, ഡിസൈൻ ഘട്ടത്തിൽ തന്നെ പ്രശ്നങ്ങൾ കണ്ടെത്തുന്നത് ഇത് സാധ്യമാക്കുന്നു.

ബഗുകൾ ഒഴിവാക്കാൻ സഹായിക്കുന്നതിന് ധാരാളം കംപൈൽ-ടൈം ചെക്കുകളെ പിന്തുണയ്ക്കുന്നു, മറ്റ് ചില ഭാഷകളിൽ റൺ-ടൈം വരെ അത് കണ്ടെത്താനാകില്ല അല്ലെങ്കിൽ സോഴ്സ് കോഡിൽ വ്യക്തമായ പരിശോധനകൾ നടത്തേണ്ടതുണ്ട്. ഉദാഹരണത്തിന്, പൊരുത്തപ്പെടാത്ത എൻഡ് ടോക്കണുകൾ കാരണം പിശകുകൾ തടയുന്നതിന് വാക്യഘടനയ്ക്ക് വ്യക്തമായി പേര് കൊടുത്തിട്ടുള്ള ബ്ലോക്കുകൾ അടയ്‌ക്കേണ്ടതുണ്ട്. ശക്തമായ ടൈപ്പിംഗിന് അനുസൃതമായി പ്രവർത്തിക്കുന്നത് കംപൈൽ ചെയ്യുന്ന സമയത്തോ അല്ലെങ്കിൽ റൺ-ടൈം സമയത്തോ നിരവധി സാധാരണ സോഫ്റ്റ്വെയർ പിശകുകൾ (തെറ്റായ പാരാമീറ്ററുകൾ, ശ്രേണി ലംഘനങ്ങൾ, അസാധുവായ റഫറൻസുകൾ, പൊരുത്തപ്പെടാത്ത തരങ്ങൾ മുതലായവ) കണ്ടെത്താൻ അനുവദിക്കുന്നു. കൺകറൻസി ഭാഷാ സ്‌പെസിഫിക്കേഷന്റെ ഭാഗമായതിനാൽ, കമ്പൈലറിന് ചില സാഹചര്യങ്ങളിൽ ഡെഡ്‌ലോക്കുകൾ കണ്ടെത്താനാകും. അക്ഷരപ്പിശകുള്ള ഐഡന്റിഫയറുകൾ, പാക്കേജുകളുടെ വിസിബിലിറ്റി, അനാവശ്യ പ്രഖ്യാപനങ്ങൾ മുതലായവ കംപൈലറുകൾ സാധാരണയായി പരിശോധിക്കുകയും പിശക് എങ്ങനെ പരിഹരിക്കാമെന്നതിനെക്കുറിച്ചുള്ള മുന്നറിയിപ്പുകളും ഉപയോഗപ്രദമായ നിർദ്ദേശങ്ങളും നൽകുകയും ചെയ്യും.

അവലംബം

[തിരുത്തുക]
  1. "Technical Corrigendum for Ada 2012 published by ISO". Ada Resource Association. 2016-01-29. Retrieved 2016-02-23.
  2. "Consolidated Ada 2012 Language Reference Manual". Ada Conformity Assessment Authority. Archived from the original on 2016-03-03. Retrieved 2016-02-23.
  3. "PTC ObjectAda". PTC.com. Archived from the original on 2016-10-10. Retrieved 2014-01-27.
  4. "AdaMagic with C Intermediate certificate".
  5. "Chapel spec (Acknowledgements)" (PDF). Cray Inc. 2015-10-01. Archived from the original (PDF) on 2016-02-05. Retrieved 2016-01-14.
  6. Ganssle, Jack (2013-05-29). "Ada Resource Association – News and resource for the Ada programming language". Adaic.org. Retrieved 2013-06-14.
  7. "ISO/IEC 8652:2012 Information technology -- Programming languages -- Ada". International Organization for Standardization. Retrieved 2012-12-23.
  8. "The Ada Programming Language". University of Mich. Archived from the original on 2016-05-22. Retrieved 27 May 2016.
  9. Fuegi, J; Francis, J (2003). "Lovelace & babbage and the creation of the 1843 'notes'". IEEE Annals of the History of Computing. 25 (4): 16–26. doi:10.1109/MAHC.2003.1253887.
"https://ml.wikipedia.org/w/index.php?title=അഡ_(പ്രോഗ്രാമിങ്_ഭാഷ)&oldid=4070210" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്