Skip to content

Enum: ProgrammingLanguageFileEnum

Programming language source file extensions

URI: valuesets:ProgrammingLanguageFileEnum

Permissible Values

Value Meaning Description Extension Mime Type
PYTHON Python source file .py text/x-python
JAVASCRIPT JavaScript source file .js text/javascript
TYPESCRIPT TypeScript source file .ts text/typescript
JAVA Java source file .java text/x-java-source
C C source file .c text/x-c
CPP C++ source file .cpp, .cc, .cxx text/x-c++
C_SHARP C# source file .cs text/x-csharp
GO Go source file .go text/x-go
RUST Rust source file .rs text/x-rust
RUBY Ruby source file .rb text/x-ruby
PHP PHP source file .php text/x-php
SWIFT Swift source file .swift text/x-swift
KOTLIN Kotlin source file .kt text/x-kotlin
R R source file .r, .R text/x-r
MATLAB MATLAB source file .m text/x-matlab
JULIA Julia source file .jl text/x-julia
SHELL Shell script .sh, .bash text/x-shellscript

Slots

Name Description
programming_language_file Programming language source file extensions

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/linkml/valuesets

LinkML Source

name: ProgrammingLanguageFileEnum
instantiates:
- valuesets_meta:ValueSetEnumDefinition
description: Programming language source file extensions
title: Programming Language File
from_schema: https://w3id.org/linkml/valuesets
contributors:
- orcid:0000-0002-6601-2165
- https://github.com/anthropics/claude-code
status: DRAFT
rank: 1000
permissible_values:
  PYTHON:
    text: PYTHON
    description: Python source file
    annotations:
      extension:
        tag: extension
        value: .py
      mime_type:
        tag: mime_type
        value: text/x-python
  JAVASCRIPT:
    text: JAVASCRIPT
    description: JavaScript source file
    annotations:
      extension:
        tag: extension
        value: .js
      mime_type:
        tag: mime_type
        value: text/javascript
  TYPESCRIPT:
    text: TYPESCRIPT
    description: TypeScript source file
    annotations:
      extension:
        tag: extension
        value: .ts
      mime_type:
        tag: mime_type
        value: text/typescript
  JAVA:
    text: JAVA
    description: Java source file
    annotations:
      extension:
        tag: extension
        value: .java
      mime_type:
        tag: mime_type
        value: text/x-java-source
  C:
    text: C
    description: C source file
    annotations:
      extension:
        tag: extension
        value: .c
      mime_type:
        tag: mime_type
        value: text/x-c
  CPP:
    text: CPP
    description: C++ source file
    annotations:
      extension:
        tag: extension
        value: .cpp, .cc, .cxx
      mime_type:
        tag: mime_type
        value: text/x-c++
  C_SHARP:
    text: C_SHARP
    description: C# source file
    annotations:
      extension:
        tag: extension
        value: .cs
      mime_type:
        tag: mime_type
        value: text/x-csharp
  GO:
    text: GO
    description: Go source file
    annotations:
      extension:
        tag: extension
        value: .go
      mime_type:
        tag: mime_type
        value: text/x-go
  RUST:
    text: RUST
    description: Rust source file
    annotations:
      extension:
        tag: extension
        value: .rs
      mime_type:
        tag: mime_type
        value: text/x-rust
  RUBY:
    text: RUBY
    description: Ruby source file
    annotations:
      extension:
        tag: extension
        value: .rb
      mime_type:
        tag: mime_type
        value: text/x-ruby
  PHP:
    text: PHP
    description: PHP source file
    annotations:
      extension:
        tag: extension
        value: .php
      mime_type:
        tag: mime_type
        value: text/x-php
  SWIFT:
    text: SWIFT
    description: Swift source file
    annotations:
      extension:
        tag: extension
        value: .swift
      mime_type:
        tag: mime_type
        value: text/x-swift
  KOTLIN:
    text: KOTLIN
    description: Kotlin source file
    annotations:
      extension:
        tag: extension
        value: .kt
      mime_type:
        tag: mime_type
        value: text/x-kotlin
  R:
    text: R
    description: R source file
    annotations:
      extension:
        tag: extension
        value: .r, .R
      mime_type:
        tag: mime_type
        value: text/x-r
  MATLAB:
    text: MATLAB
    description: MATLAB source file
    annotations:
      extension:
        tag: extension
        value: .m
      mime_type:
        tag: mime_type
        value: text/x-matlab
  JULIA:
    text: JULIA
    description: Julia source file
    annotations:
      extension:
        tag: extension
        value: .jl
      mime_type:
        tag: mime_type
        value: text/x-julia
  SHELL:
    text: SHELL
    description: Shell script
    annotations:
      extension:
        tag: extension
        value: .sh, .bash
      mime_type:
        tag: mime_type
        value: text/x-shellscript