profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/tmc/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Travis Cline tmc @VirtaHealth Earth 🚀

grpc-ecosystem/grpc-gateway 11273

gRPC to JSON proxy generator following the gRPC HTTP spec

grpc/grpc-web 5792

gRPC for Web Clients

rogchap/v8go 1440

Execute JavaScript from Go

jmoiron/modl 467

golang database modelling library

alex/django-ajax-validation 256

A reusable application to preform ajax validation on django forms.

seancribbs/riak_zmq 22

Publish writes to Riak KV to 0MQ (based on linked gist)

rhencke/glut 18

GLUT bindings for Go

foobaz/gdal 4

Go (golang) wrapper for GDAL, the Geospatial Data Abstraction Library

tmc/adt 4

Package adt provides read access to ADT (Advantage) database files

delete branch tmc/goteal

delete branch : add-ssa-conversion

delete time in 16 hours

push eventtmc/goteal

Travis Cline

commit sha d670a126feca517168cc7296d64fb3a39b6dbdfb

build: Flesh out conversion between SSA and TEAL

view details

Travis Cline

commit sha 5581a21853d6982a29d282081c973b76d5f8b3bb

examples: Clean up helloworld

view details

Travis Cline

commit sha 23d6cec2d697c0319b54366d511a13d58a0544f9

convert: make txn and globals access a bit more generic

view details

Travis Cline

commit sha f6aa28715856af5790c3ddd9426e95849b7ec5b1

Merge pull request #3 from tmc/add-ssa-conversion build: Flesh out conversion between SSA and TEAL

view details

push time in 16 hours

PR merged tmc/goteal

build: Flesh out conversion between SSA and TEAL

This is still quite naive but contains enough to convert the most trivial of go programs to TEAL.

This Go program:

package helloworld

import (
	"fmt"

	"github.com/tmc/goteal/types"
)

// Contract defines a trivial contract that checks that the Transaction is a single payment.
func Contract(globals types.Globals, txn types.Transaction, gtxn types.TxGroup) (int, error) {
	isSingleTx := globals.GroupSize == 1

	if isSingleTx {
		return 1, nil
	}
	return 0, fmt.Errorf("failed condition")
}

When run through goteal build produces this TEAL program:

#pragma version 4
// jump to main
b contract

contract:
global GroupSize
int 1
==
bnz contract.block.1
b contract.block.2
// if.then
contract.block.1:
int 1
return
// if.done
contract.block.2:
int 0
return
+1641 -54

1 comment

11 changed files

tmc

pr closed time in 16 hours

pull request commenttmc/goteal

build: Flesh out conversion between SSA and TEAL

This isn't perfect but represents some progress! Merging.

tmc

comment created time in 16 hours

push eventtmc/goteal

Travis Cline

commit sha 23d6cec2d697c0319b54366d511a13d58a0544f9

convert: make txn and globals access a bit more generic

view details

push time in 16 hours

push eventtmc/goteal

Travis Cline

commit sha 8fc4fd18d29bfe76cc341a7ec0719f2d31bc33a7

examples: Update references

view details

push time in 2 days

push eventtmc/goteal

Travis Cline

commit sha 85db0fcb02d946237ac2a63451199b9bda0ad520

avm: Use byte slices instead of byte array

view details

push time in 2 days

push eventtmc/goteal

Travis Cline

commit sha 5581a21853d6982a29d282081c973b76d5f8b3bb

examples: Clean up helloworld

view details

push time in 2 days

PR opened tmc/goteal

build: Flesh out conversion between SSA and TEAL

This is still quite naive but contains enough to convert the most trivial of go programs to TEAL.

+1638 -54

0 comment

11 changed files

pr created time in 2 days

create barnchtmc/goteal

branch : add-ssa-conversion

created branch time in 2 days

push eventtmc/goteal

Travis Cline

commit sha 3b89638c9b92f77ca14b037d498f7d213abaa86a

build: Add Contract() signature detection

view details

push time in 2 days

delete branch tmc/goteal

delete branch : types-api

delete time in 2 days

push eventtmc/goteal

Travis Cline

commit sha 88cd95f60de56659b402e0cc817ff9589bddc1a1

types: Flesh out more of the types package

view details

Travis Cline

commit sha f39fc15797dbd91b817ca26f0cb840c41d114589

examples: Update references

view details

Travis Cline

commit sha 19ce9f3edd5063582ee4b37e86cce944d4ec128c

Merge pull request #2 from tmc/types-api types: Flesh out more of types package, get basic example type checking

view details

push time in 2 days

PR merged tmc/goteal

types: Flesh out more of types package, get basic example type checking

This fleshes out the types package and gets the basic example typechecking.

+643 -19

0 comment

7 changed files

tmc

pr closed time in 2 days

PR opened tmc/goteal

types: Flesh out more of types package, get basic example type checking.

This fleshes out the types package and gets the basic example typechecking.

+643 -19

0 comment

7 changed files

pr created time in 2 days

push eventtmc/goteal

Travis Cline

commit sha f39fc15797dbd91b817ca26f0cb840c41d114589

examples: Update references

view details

push time in 2 days

create barnchtmc/goteal

branch : types-api

created branch time in 2 days

push eventtmc/goteal

Travis Cline

commit sha 17f6387d58c3c73771963c8768995b8d72922fa6

examples: Update reference

view details

push time in 3 days

push eventtmc/goteal

Travis Cline

commit sha aa7cf845d03a19ce5d985b9ee27d543e6abb2986

types: Remove sdk utilization

view details

push time in 3 days

push eventtmc/goteal

Travis Cline

commit sha ac0bd54e2639f6fb2c3f599ccd2b18116e3f1812

readme: Update readme

view details

push time in 3 days

delete branch tmc/goteal

delete branch : avm-api

delete time in 3 days

push eventtmc/goteal

Travis Cline

commit sha f81eface10e7c5be8471eff0bb76006ae7f964e5

avm: Add start of avm package api

view details

Travis Cline

commit sha 8cd37f2a8187330a7bf9263b56c522744189eac4

avm: Include other ops to translate/expose

view details

Travis Cline

commit sha 0d58c1e07d322d64b813032ca49e83f5038ef967

avm: Flesh out arithmetic_operations.go

view details

Travis Cline

commit sha 506729da6e8d9f1a4791256e93efb5f5db08bf89

avm: Flesh out more avm operations

view details

Travis Cline

commit sha 28464e0935a4a3912d7eced4d8d15a1ee2b333ef

examples: Include example contract

view details

Travis Cline

commit sha d98a4b1636771faa6cf8199ec8496bbac9c53713

Merge pull request #1 from tmc/avm-api avm: Add avm and types packages

view details

push time in 3 days

PR merged tmc/goteal

avm: Add avm and types packages

This proposes the start of an 'avm' package which will expose to Go the set of TEAL opcoded defined here.

+300 -0

1 comment

8 changed files

tmc

pr closed time in 3 days

pull request commenttmc/goteal

avm: Add avm and types packages

Going to land this as-is, still iterating heavily.

tmc

comment created time in 3 days

push eventtmc/goteal

Travis Cline

commit sha 28464e0935a4a3912d7eced4d8d15a1ee2b333ef

examples: Include example contract

view details

push time in 3 days

push eventtmc/goteal

Travis Cline

commit sha de62b3fd5c83cd104d3dea7d477c6047a1a17499

examples: Include example contract

view details

push time in 3 days

push eventtmc/goteal

Travis Cline

commit sha 506729da6e8d9f1a4791256e93efb5f5db08bf89

avm: Flesh out more avm operations

view details

push time in 3 days

push eventtmc/goteal

Travis Cline

commit sha 0d58c1e07d322d64b813032ca49e83f5038ef967

avm: Flesh out arithmetic_operations.go

view details

push time in 3 days

MemberEvent

push eventtmc/goteal

Travis Cline

commit sha 8cd37f2a8187330a7bf9263b56c522744189eac4

avm: Include other ops to translate/expose

view details

push time in 3 days