Skip to content

Conversation

@guuzaa
Copy link
Contributor

@guuzaa guuzaa commented Dec 28, 2025

Before nature doesn't support having the build_file in the middle, such as

nature build foo.n -o foo

This PR make it work.

@guuzaa
Copy link
Contributor Author

guuzaa commented Dec 28, 2025

By the way, I modified CMakeLists.txt to avoid silent fallback to an older C standard.

@weiwenhao
Copy link
Member

weiwenhao commented Dec 28, 2025

I tested the format of commands used by some software, such as the one recommended by docker

Usage: docker stop [OPTIONS] CONTAINER [CONTAINER...]

Nature is expected to follow a similar recommended format

nature subcommand [OPTIONS] entry

In practice, however, the restriction is not strictly limited, and something like the following will work, so the PR will be merged

docker stop 7bc2589420ab -s SIGKILL 2db9c56f3897 7bc2589420ab 2db9c56f3897

@weiwenhao weiwenhao merged commit 874383a into nature-lang:master Dec 28, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants