Here's the canonical TOML example from the TOML README, and a YAML version of the same. Which looks nicer?
title = "TOML Example" |
#!/bin/bash | |
sudo apt-get install curl git-core lsb-release | |
bash < <( curl -sL https://raw.github.com/sometimesfood/chef-admin-essentials/master/contrib/install-chef.sh ) | |
mkdir ~/cookbooks | |
cd ~/cookbooks | |
echo '*~' > .gitignore | |
git init | |
git add . | |
git commit -am 'Initial commit' | |
git submodule add git://github.com/sometimesfood/chef-admin-essentials.git admin-essentials |
const NULL* = 0 | |
type | |
TagPtr = distinct int | |
Sum2[T1,T2] = TagPtr | |
proc copyHeap*[T](x: var T): ptr T = | |
var |
Here's the canonical TOML example from the TOML README, and a YAML version of the same. Which looks nicer?
title = "TOML Example" |
0x05556c26c5d722da32f57ca29a0f9f049525d2718961d1d875723795a6eb7ecf