🐐 Small fixes
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -2,5 +2,8 @@
|
||||
__pycache__/
|
||||
.pytest_cache/
|
||||
|
||||
examples/*
|
||||
!examples/*.cent
|
||||
|
||||
.claude/
|
||||
CLAUDE.md
|
||||
6
cent
6
cent
@@ -1,15 +1,15 @@
|
||||
#! /home/nikolaj/.pyenv/shims/python
|
||||
#! /usr/bin/env python
|
||||
"""
|
||||
Usage:
|
||||
cent (-h|--help)
|
||||
cent -i FILE
|
||||
cent -c [--keep-c] FILE
|
||||
cent -c [-k|--keep-c] FILE
|
||||
|
||||
Options:
|
||||
-h --help Print this help screen
|
||||
-i Run the interpreter
|
||||
-c Run the compiler
|
||||
--keep-c Keep the generated C file alongside the binary
|
||||
-k --keep-c Keep the generated C file alongside the binary
|
||||
FILE The file to compile/interpret
|
||||
"""
|
||||
import os
|
||||
|
||||
Reference in New Issue
Block a user