Skip to content

Instantly share code, notes, and snippets.

@dohvis
Created January 11, 2019 19:59
Show Gist options
  • Save dohvis/66858ac3a14570fdfd8fde88488ec3df to your computer and use it in GitHub Desktop.
Save dohvis/66858ac3a14570fdfd8fde88488ec3df to your computer and use it in GitHub Desktop.
Language design
import get from requests
import requests
fn funcName(a: int, b: int) {
var number: int
obj := { a: 1}
var { a } = obj
var newObj = { a } // a: 1
print(newObj)
}
class Klass(ParentClass) {
fn func() {
}
}
k := new Klass()
k.func()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment