From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IEFYCmih8GVgPAAAbAwnHQ (envelope-from ) for ; Tue, 12 Mar 2024 19:39:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 2BlABWih8GU5YwEAqHPOHw (envelope-from ) for ; Tue, 12 Mar 2024 19:39:36 +0100 X-Envelope-To: patches@johnnyrichard.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=fIrkFYVT; dkim=pass header.d=johnnyrichard.com header.s=key1 header.b=AvbUUSSC; dmarc=pass (policy=quarantine) header.from=johnnyrichard.com; spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht ARC-Seal: i=1; s=key1; d=johnnyrichard.com; t=1710268776; a=rsa-sha256; cv=none; b=xznFciI/5wR+Q73UObwwwMIYDWPUy24wqudPPZKjVuf98LDIMYiuGVf0NuIKAwh0DYjf0c 8SW/w9ovD2+U7QupvfGJtJXrpPDxLKaR24b/51ExrF4sQ1JmUMqO09x9k74CRqeuV75zwy g0ltoS/zzNaFtscHQVh2mU8gpN/V139AnDPmPj6i067YCvNt0jz6Xzb/siMUajQhkUjgqH Jz5RCL4qi6ZwYZffVJRTL7cqngbtFU9DwPx+qq2V1eQMMRikZlM8x+kmaf8vhGfr/utvle Jf//1xJB9IBSRm989V3Ol8WmpLkM9g4U5ZbaIGEvfH/1Vvm0BRz6XvoMiWCk4Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=fIrkFYVT; dkim=pass header.d=johnnyrichard.com header.s=key1 header.b=AvbUUSSC; dmarc=pass (policy=quarantine) header.from=johnnyrichard.com; spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=johnnyrichard.com; s=key1; t=1710268776; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=AD44TlZDY6UdQmuInkLJ4TASJog/eGdKsdPvaUuF+Hg=; b=IwcZaAtPBc3YNIJ3IptV6KFn7xft1CwTwDndaY7a+RFtRdRPTMeWswcEoAv9oQHsowps95 0j7BGgpn7kvhjy8FcNNuEmsCicT4Z0pDWugFJevelH2SczJyE9wWdrV0l8yQ733C5Xubqt gimOxP8qh+6UsGvkW/T/+x7d5ggLYyLicDyFCRbGwSZlEaCLqp/yZ/0FBgsMq/P8sGQGK6 Ti1uLGWn26ELq5s94huv4dBjgMGLIfXPdrjTvnaWpkckcUqpXzplJrNzKfRPPAkd1zJnuY AAkIIWzGup8bwR8uo3uf9iDzyygo4BOz6iYvkdvq+WYcDMT+soXOQsWxGg01SQ== Received: from mail-a.sr.ht (mail-a.sr.ht [46.23.81.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C1F46244A6 for ; Tue, 12 Mar 2024 19:39:32 +0100 (CET) DKIM-Signature: a=rsa-sha256; bh=C12M1oqz7mjimai63hNEj21yZn0ej18Xppc7fKNwVkc=; c=simple/simple; d=lists.sr.ht; h=From:To:Cc:Subject:Date:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-ID; q=dns/txt; s=20240113; t=1710268771; v=1; b=fIrkFYVT6VS5FhF9Fo+GUqlM6R5+OWZp70NG7IzGnNJ03o4lcHHdjawwre9/iTwe/Nyv0aQc wpr5QPCyvbTNS/gOtjtnmwwb7sS3brvtv8HGqNa4FwolYs/Xgdf2gwhTSPFoIpufQB5NCbSnqVe dPZasf/9iPj0o9SUQt+WYla34Cjur6+vJB47PTTi+9xrB80hyX9GUpNFwdizeG5gB0CaVx20wzn YhWsA1uR8KOUwJ9YKYlJZIlzN6qDk0QJ6IvmACrQi4G71AYqss7FcFBS4EK/X0W5Zdu6byTH7Xp RMfdUmeV4FMZ8cpDTgqngn7FM1Yq37sK8b51cBIE388LA== Received: from lists.sr.ht (unknown [46.23.81.154]) by mail-a.sr.ht (Postfix) with ESMTPSA id 988CF2021D for ; Tue, 12 Mar 2024 18:39:31 +0000 (UTC) Received: from out-181.mta1.migadu.com (out-181.mta1.migadu.com [IPv6:2001:41d0:203:375::b5]) by mail-a.sr.ht (Postfix) with ESMTPS id D2AF1201FD for <~johnnyrichard/olang-devel@lists.sr.ht>; Tue, 12 Mar 2024 18:39:30 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnnyrichard.com; s=key1; t=1710268769; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AD44TlZDY6UdQmuInkLJ4TASJog/eGdKsdPvaUuF+Hg=; b=AvbUUSSCN8QvAPgL5a0V1ZrLvxC/Jz98JYsGX/PmRejLlzG/zKRSD/LML0syFba4h8akQ6 CREPutFJ7PLmFENvkm0/fd3USSZuakpuDC1CXyxubx9MlOEmu6PtWx7Rpc5w4aMUXAG4yH fN7RTYsFzbRNgTtzv/QKIFU6g2GZrQYozL4uzhDhztNVHhH2oLIQ0ZD5zrSzkZE3wEajYB HavYUBvScPMYFA04RDamM7++jDv2wbkEvWI9lv0QOqYWDGzioMCSU/FBZjLqK6/vCevn+j 1iLQQRg7UkpaS2A0qsFhm8BLH5VgHkvYzbYMltE0SADE2jup94mBx57g2cx1TA== From: Johnny Richard To: ~johnnyrichard/olang-devel@lists.sr.ht Cc: Johnny Richard Subject: [PATCH olang v1] refactor: rename zero programming language to olang Date: Tue, 12 Mar 2024 20:35:23 +0100 Message-ID: <20240312193924.108229-1-johnny@johnnyrichard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Sourcehut-Patchset-Status: PROPOSED List-Unsubscribe: List-Subscribe: List-Archive: Archived-At: List-Post: List-ID: ~johnnyrichard/olang-devel <~johnnyrichard/olang-devel.lists.sr.ht> Sender: ~johnnyrichard/olang-devel <~johnnyrichard/olang-devel@lists.sr.ht> X-Migadu-Flow: FLOW_IN X-Migadu-Country: NL X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.26 X-Spam-Score: -9.26 X-Migadu-Queue-Id: C1F46244A6 X-TUID: gyEtYZIm+dBT After a long discussion we've decided to rename the project to olang. This patch removes anything related to zero programming language and also renames the compiler and extension. Signed-off-by: Johnny Richard --- .gitignore | 2 +- Makefile | 4 ++-- docs/Makefile | 2 +- docs/index.md | 2 +- docs/manpages/{0c.md => oc.md} | 8 +++---- docs/pages/hacking.md | 2 +- docs/template.html | 2 +- examples/{main_exit.0 => main_exit.ol} | 0 tests/integration/cli_runner.c | 6 ++--- tests/integration/cli_test.c | 32 +++++++++++++------------- 10 files changed, 30 insertions(+), 30 deletions(-) rename docs/manpages/{0c.md => oc.md} (76%) rename examples/{main_exit.0 => main_exit.ol} (100%) diff --git a/.gitignore b/.gitignore index fc7d161..941bf48 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -0c +oc build *.o docs/site.tar.gz diff --git a/Makefile b/Makefile index 662d039..2bff8a7 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -TARGET := 0c +TARGET := oc SRC_DIR := src BUILD_DIR := build CFLAGS := -Werror -Wall -Wextra -Wmissing-declarations -pedantic -std=c11 -ggdb @@ -42,7 +42,7 @@ unit-test: clean: $(MAKE) -C tests/integration/ clean $(MAKE) -C tests/unit/ clean - @rm -rf build/ 0c + @rm -rf build/ $(TARGET) .PHONY: check check: diff --git a/docs/Makefile b/docs/Makefile index 54561a1..d34f9f5 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -21,7 +21,7 @@ clean: dist: $(DIST_FILE) .PHONY: manpages -manpages: $(BUILD_DIR) $(MANPAGES)/0c.1 +manpages: $(BUILD_DIR) $(MANPAGES)/oc.1 $(MANPAGES)/%.1: manpages/%.md $(PANDOC) -s -t man $< > $@ diff --git a/docs/index.md b/docs/index.md index b6d5c1a..1a28069 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,6 +1,6 @@ % Welcome to olang documentation -The zero programming language. +The O Programming Language. ## olang manifest diff --git a/docs/manpages/0c.md b/docs/manpages/oc.md similarity index 76% rename from docs/manpages/0c.md rename to docs/manpages/oc.md index e3d3cfc..e4b263d 100644 --- a/docs/manpages/0c.md +++ b/docs/manpages/oc.md @@ -1,21 +1,21 @@ -% 0C(1) +% OC(1) % olang mantainers % Feb 2024 # NAME -0c - zero language compiler +oc - O Programming Language compiler # SYNOPSIS -**0c** +**oc** source_file [**----dump-tokens**] [**--o** output_file [**----save-temps**]] # DESCRIPTION -**0c** is the offical compiler for zero language, it is also a tool that +**oc** is the offical O programming language compiler, it is also a tool that contains utilities to help the language development. # GENERAL OPTIONS diff --git a/docs/pages/hacking.md b/docs/pages/hacking.md index ef88791..86db9d6 100644 --- a/docs/pages/hacking.md +++ b/docs/pages/hacking.md @@ -53,7 +53,7 @@ Testing ------- There are two layers of tests **integration** and **unit**. The -integration test is going to execute the **0c** compiler and check if +integration test is going to execute the **oc** compiler and check if the generated binary acts as expected. Unit tests will test C functions. For both unit and integration we use **munit** framework: diff --git a/docs/template.html b/docs/template.html index ecc92a2..4e066d1 100644 --- a/docs/template.html +++ b/docs/template.html @@ -52,7 +52,7 @@
-

∅lang | The zero programming language

+

olang | The O Programming Language