Skip to content

Commit

Permalink
Update language exposé.
Browse files Browse the repository at this point in the history
  • Loading branch information
weetmuts committed Sep 11, 2024
1 parent 6e8e02b commit 9dc2174
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions web/resources/languages.xmq
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,7 @@ list {
info = 'CoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.'
by = 'Benjamin Lupton'
year = 2011
url = https://github.com/bevry/cson
example = ''''
# An Array with no commas!
listOfStuff: [
Expand Down Expand Up @@ -1309,6 +1310,45 @@ list {
Reboot=yes
}'
}
lang {
name = Bicep
info = 'Bicep is a domain-specific language (DSL) that uses declarative syntax to deploy Azure resources.'
url = https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/overview
year = 2022
example = '''param location string = resourceGroup().location
param storageAccountName string = 'toylaunch${uniqueString(resourceGroup().id)}'

resource storageAccount 'Microsoft.Storage/storageAccounts@2023-04-01' = {
name: storageAccountName
location: location
sku: {
name: 'Standard_LRS'
}
kind: 'StorageV2'
properties: {
accessTier: 'Hot'
}
}'''
}
lang {
name = KCL
info = 'KCL is an open-source, constraint-based record and functional language that enhances the writing of complex configurations, including those for cloud-native scenarios.'
year = 2022
url = https://github.com/kcl-lang/kcl
example = 'env: str = option("env") or "dev" # The attribute `env` has a default value "den"
database: str = option("database")
hosts = {
dev = "postgres.dev"
stage = "postgres.stage"
prod = "postgres.prod"
}
dbConfig = {
host = hosts[env]
database = database
port = "2023"
conn = "postgres://${host}:${port}/${database}"
}'
}
lang {
name = RCL
info = 'A reasonable configuration language. [configuration generator language]'
Expand Down

0 comments on commit 9dc2174

Please sign in to comment.