Skip to content

Building the tool #38

@soveran

Description

@soveran

I'm using this makefile:

y.output:
    go tool yacc -o src/comp/y.go -p "comp_" src/comp/grammar.y

test: comp
    go test comp

comp: y.output
    go build ./src/comp

I think it may be useful to have it in the repo. Regardless, I think the go build ./src/comp step is missing in the README. I can submit a pull request either for adding that step to the README, or to provide a makefile with the corresponding modifications to the README.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions