spenserblack / gengo

A linguist-inspired language classifier with multiple file source handlers
Apache License 2.0
20 stars 10 forks source link

Subcategories? #105

Open spenserblack opened 1 year ago

spenserblack commented 1 year ago

For example, Jupyter Notebooks are markup, but maybe they can also be considered programming.

hasecilu commented 5 months ago

As mentioned in #359, OpenSCAD defines 3D models via code, the subcategory "modeller" could be created.

spenserblack commented 5 months ago

Right now I think OpenSCAD falls under "programming" from what I've seen. The current logic is

I took a lot of inspiration from linguist for the programming, prose, data, and markup categories. But added the Query category because I felt that SQL and GraphQL didn't fit into the "data" category.

Because OpenSCAD has variables, loops, functions, and maybe other features of programming languages (I just took a quick look), I think it fits well in the "programming" category. I'd need a good argument that it doesn't fit into any of the categories that I listed. E.g. SQL doesn't contain the data itself, unlike JSON or YAML, so I moved it to the new "query" category.