Files
wuffs/cmd/puffs-gen-c/main.go
T
Nigel Tao 1b4590d878 Remove puffs-gen-h as a separate executable.
The .h file is already a prefix of the .c file. We already call
puffs-gen-c and can truncate its output.
2017-06-01 10:33:42 +10:00

20 lines
488 B
Go

// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file.
// puffs-gen-c transpiles a Puffs program to a C program.
//
// The command line arguments list the source Puffs files. If no arguments are
// given, it reads from stdin.
//
// The generated program is written to stdout.
package main
import (
"github.com/google/puffs/cmd/internal/cgen"
"github.com/google/puffs/lang/generate"
)
func main() {
generate.Main(&cgen.Generator{})
}