hara.model.spec-python

!.py

macro

(!.py & body)

+book+

+features+

+grammar+

+init+

+meta+

+template+

await

macro

break

macro

def$.py

macro

(def$.py & body)

def.py

macro

(def.py & body)

defclass.py

macro

(defclass.py & body)

defgen.py

macro

(defgen.py & body)

defglobal.py

macro

(defglobal.py & body)

defmacro.py

macro

(defmacro.py & body)

defn.py

macro

(defn.py & body)

defptr.py

macro

(defptr.py & body)

defrun.py

macro

(defrun.py & body)

deftemp.py

macro

(deftemp.py & body)

pass

macro

python-defclass

added in 4.0

(python-defclass [_ sym inherit & body])

emits a defclass template for python

python-defn

added in 4.0

(python-defn form)

creates a defn function for python

python-defn-

added in 4.0

(python-defn- form grammar mopts)

hidden function without decorators

python-dot

(python-dot [_ obj & props])

python-emit-input-rest

(python-emit-input-rest {:keys [symbol]} grammar mopts)

python-emit-nonlocal

(python-emit-nonlocal [_ & syms] grammar mopts)

python-fn

added in 4.0

(python-fn [_ & args])

basic transform for python lambdas

python-tf-prototype-create

(python-tf-prototype-create [_ m])

python-tf-prototype-get

(python-tf-prototype-get [_ obj])

python-tf-prototype-method

(python-tf-prototype-method [_ obj key])

python-tf-prototype-set

(python-tf-prototype-set [_ obj prototype])

python-var

added in 4.0

(python-var [_ sym & args])

var -> fn.inner shorthand

raise

macro

return

macro

tf-for-array

added in 4.0

(tf-for-array [_ [e arr] & body])

for array loop

tf-for-index

added in 4.0

(tf-for-index [_ [i range] & body])

for index transform

tf-for-iter

added in 4.0

(tf-for-iter [_ [e it] & body])

for iter loop

tf-for-object

added in 4.0

(tf-for-object [_ [[k v] m] & body])

for object loop

tf-for-return

added in 4.0

(tf-for-return [_ [[res err] statement] {:keys [success error]}])

for return transform

tup

macro

with

macro

yield

macro