Skip to content

Enum: ProgrammingLanguageFileEnum

Programming language source file extensions

URI: valuesets:ProgrammingLanguageFileEnum

Permissible Values

Value Meaning Description
PYTHON None Python source file
JAVASCRIPT None JavaScript source file
TYPESCRIPT None TypeScript source file
JAVA None Java source file
C None C source file
CPP None C++ source file
C_SHARP None C# source file
GO None Go source file
RUST None Rust source file
RUBY None Ruby source file
PHP None PHP source file
SWIFT None Swift source file
KOTLIN None Kotlin source file
R None R source file
MATLAB None MATLAB source file
JULIA None Julia source file
SHELL None Shell script

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
description: Programming language source file extensions
from_schema: https://w3id.org/linkml/valuesets
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