cook

module
v0.0.2-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2021 License: BSD-3-Clause

README

Cook Introduction

icon

A simple interpreter language to read and execute cook statement/instruction in Cookfile. Cookfile syntax was inspire by Go and the tools gnu make. Cook aiming to provide cross-platform compatibility and simplicity.

Although all Cook functionality is being test on Linux, MacOS and Windows, it is currently at it early stage.

Languages

More about Cook, check language specification. For built-in function visit here

Usage

Download the binary from the release page on github and add the path to the binary executable in your variable environment.

Ultimately, if you have Go installed on your machine then you can build Cook from source code with command below:

git clone https://github.com/cozees/cook.git
cd cook
go build -o cook cmd/main.go

Note: in our release page, we include a binary compression with smaller size foot print which tested against all cook functionality to ensure that is it running fine on major plaform such as Linux, MacOS and Windows.

Create a file name "Cookfile" with content below

A = 12

target:
    @print A

Then to execute above code run

cook target

// or

cook -c Cookfile target

Directories

Path Synopsis
pkg
tools

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL