<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Comment-Syntax, branch master</title>
<subtitle>Database of comment markers in many languages</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Comment-Syntax/'/>
<entry>
<title>Add README</title>
<updated>2018-12-13T07:35:29+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-12-13T07:35:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Comment-Syntax/commit/?id=692c50b17887ddf8ba49c0cb05ccfdb19ff71ca2'/>
<id>692c50b17887ddf8ba49c0cb05ccfdb19ff71ca2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add license (Creative Commons BY-SA)</title>
<updated>2018-12-12T22:24:29+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-12-12T21:45:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Comment-Syntax/commit/?id=c17a379ec4b7af12d2e413262a02de7e776b4416'/>
<id>c17a379ec4b7af12d2e413262a02de7e776b4416</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add comments_by_extension.toml</title>
<updated>2018-12-12T22:24:29+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-12-10T19:51:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Comment-Syntax/commit/?id=33edb225a1f2d77afee5434ea37b9c9258369194'/>
<id>33edb225a1f2d77afee5434ea37b9c9258369194</id>
<content type='text'>
Based on `comments.toml` but keyed by file extension instead of language
name.

Generated using the following two scripts with some additional manual
modification:

convert_file_extension_keys_toml.py:

    #!/usr/bin/env python3

    import toml

    comments = toml.load('comments.toml')

    by_extension = {}

    for language, attributes in comments.items():
        if 'extensions' in attributes:
            value = attributes
            extensions = value.pop('extensions')
            value['name'] = language

            for extension in extensions:
                by_extension[extension] = value

    with open('comments_by_extension.toml', 'w') as f:
        toml.dump(by_extension, f)

sort_file_extensions.py:

    #!/usr/bin/env python3

    from collections import OrderedDict

    import toml

    comments = toml.load('comments_by_extension.toml')
    comments = OrderedDict(sorted(comments.items()))

    with open('comments_by_extension.toml', 'w') as f:
        toml.dump(comments, f)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Based on `comments.toml` but keyed by file extension instead of language
name.

Generated using the following two scripts with some additional manual
modification:

convert_file_extension_keys_toml.py:

    #!/usr/bin/env python3

    import toml

    comments = toml.load('comments.toml')

    by_extension = {}

    for language, attributes in comments.items():
        if 'extensions' in attributes:
            value = attributes
            extensions = value.pop('extensions')
            value['name'] = language

            for extension in extensions:
                by_extension[extension] = value

    with open('comments_by_extension.toml', 'w') as f:
        toml.dump(by_extension, f)

sort_file_extensions.py:

    #!/usr/bin/env python3

    from collections import OrderedDict

    import toml

    comments = toml.load('comments_by_extension.toml')
    comments = OrderedDict(sorted(comments.items()))

    with open('comments_by_extension.toml', 'w') as f:
        toml.dump(comments, f)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add comments.toml</title>
<updated>2018-12-12T22:24:27+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-12-08T16:24:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Comment-Syntax/commit/?id=cbdd6901e01c531fd1316d9744887b6294ea3f6b'/>
<id>cbdd6901e01c531fd1316d9744887b6294ea3f6b</id>
<content type='text'>
A database of comment markers in many languages. Used the list of
languages on:

http://rosettacode.org/wiki/Comments

Discovered the comment marker syntax from the examples on that page.

The file extensions were added manually and informed by language
homepages, GitHub, and Wikipedia.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A database of comment markers in many languages. Used the list of
languages on:

http://rosettacode.org/wiki/Comments

Discovered the comment marker syntax from the examples on that page.

The file extensions were added manually and informed by language
homepages, GitHub, and Wikipedia.
</pre>
</div>
</content>
</entry>
</feed>
