mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 16:47:28 +01:00
There's no longer separate .c and .h generator executables, so there's no need for an (internal) package for common code.
19 lines
431 B
Go
19 lines
431 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/lang/generate"
|
|
)
|
|
|
|
func main() {
|
|
generate.Main(gen{})
|
|
}
|