首页 文章 精选 留言 我的

精选列表

搜索[副语言],共10000篇文章
优秀的个人博客,低调大师

各种语言的注释总结--from wiki

Commentscan be classified by: style (inline/block) parse rules (ignored/interpolated/stored in memory) recursivity (nestable/non-nestable) uses (docstrings/throwaway comments/other) Inline comments[edit] Inline comments are generally those that use anewlinecharacter to indicate the end of a comment, and an arbitrarydelimiteror sequence oftokensto indicate the beginning of a comment. Examples: Symbol Languages C Fortran 77and earlier; the 'C' must be in column 1 of a line to indicate a comment. REM,::,: BASIC,COMMAND.COM,cmd.exe, batch files NB. J; from the (historically) common abbreviationNota bene, the Latin for "note well". ⍝ APL; the mnemonic is the glyph (jot overstruck with shoe-down) resembles a desk lamp, and hence "illuminates" the foregoing. # Bourne shelland otherUNIX shells,Cobra,Perl,Python,Ruby,Seed7,Windows PowerShell,PHP,R,Maple % TeX,Prolog,MATLAB,[9]Erlang,S-Lang,Visual Prolog // ActionScript,C (C99),C++,C#,D,Go,Java,JavaScript,Object Pascal(Delphi),Objective-C,PHP,Scala,SASS ' Visual Basic,VBScript,RealBasic ! Fortran, Basic Plus, Inform ; AutoHotkey,AutoIt,Lisp,Common Lisp,Clojure,Rebol,Scheme, many assemblers -- Euphoria,Haskell,SQL,Ada,AppleScript,Eiffel,Lua,VHDL,SGML * COBOL(if fixed-form and * in column 7),PAW, many assemblers, Fortran (if fixed-form and * in column 1) || Curl " Vimscript \ Forth Block comments[edit] Block comments are generally those that use a delimiter to indicate the beginning of a comment, and another delimiter to indicate the end of a comment. In this context,whitespaceandnewlinecharacters are not counted as delimiters. Examples: Symbol Languages ¢~¢,#~#,co~co,comment~comment ALGOL 68 /**/ ActionScript, AutoHotkey, C, C++, C#, D, Go, Java, JavaScript, Objective-C, PHP, PL/I, Scala (can be nested), SASS, SQL,Visual Prolog,CSS #cs#ce AutoIt /++/ D (can be nested) /##/ Cobra(can be nested) <##> Powershell =begin=cut Perl =begin=end Ruby #<tag></code> <code>#</tag> S-Lang {--} Haskell(can be nested) (**) Object Pascal (Delphi), ML, Mathematica,Pascal,Seed7,Applescript,OCaml(can be nested), Standard ML (can be nested), Maple,Newspeak {} Object Pascal (Delphi), Pascal |##| Curl %{%} MATLAB[9](the symbols must be in a separate line) #||# Lisp,Scheme,Racket(can be nested in all three). --[[ ]] Lua "" Smalltalk (comment ...) Clojure 本文转自二郎三郎博客园博客,原文链接:http://www.cnblogs.com/haore147/p/3606079.html,如需转载请自行联系原作者

资源下载

更多资源
优质分享App

优质分享App

近一个月的开发和优化,本站点的第一个app全新上线。该app采用极致压缩,本体才4.36MB。系统里面做了大量数据访问、缓存优化。方便用户在手机上查看文章。后续会推出HarmonyOS的适配版本。

Mario

Mario

马里奥是站在游戏界顶峰的超人气多面角色。马里奥靠吃蘑菇成长,特征是大鼻子、头戴帽子、身穿背带裤,还留着胡子。与他的双胞胎兄弟路易基一起,长年担任任天堂的招牌角色。

Spring

Spring

Spring框架(Spring Framework)是由Rod Johnson于2002年提出的开源Java企业级应用框架,旨在通过使用JavaBean替代传统EJB实现方式降低企业级编程开发的复杂性。该框架基于简单性、可测试性和松耦合性设计理念,提供核心容器、应用上下文、数据访问集成等模块,支持整合Hibernate、Struts等第三方框架,其适用范围不仅限于服务器端开发,绝大多数Java应用均可从中受益。

Rocky Linux

Rocky Linux

Rocky Linux(中文名:洛基)是由Gregory Kurtzer于2020年12月发起的企业级Linux发行版,作为CentOS稳定版停止维护后与RHEL(Red Hat Enterprise Linux)完全兼容的开源替代方案,由社区拥有并管理,支持x86_64、aarch64等架构。其通过重新编译RHEL源代码提供长期稳定性,采用模块化包装和SELinux安全架构,默认包含GNOME桌面环境及XFS文件系统,支持十年生命周期更新。

用户登录
用户注册
修改密码
忘记密码