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 wKKoK7Of8WX2uQAAbAwnHQ (envelope-from ) for ; Wed, 13 Mar 2024 13:44:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id YEVwJrOf8WUYJwAAqHPOHw (envelope-from ) for ; Wed, 13 Mar 2024 13:44:35 +0100 X-Envelope-To: patches@johnnyrichard.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=dl9wFiaJ; dkim=pass header.d=fabiomaciel.com header.s=key1 header.b="wKGsS/qR"; spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht; dmarc=pass (policy=quarantine) header.from=fabiomaciel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=johnnyrichard.com; s=key1; t=1710333875; 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=TctQkKEKO7c/M5YNAK+RznWkPccjRVMgm6F5jczETzY=; b=q4fxOJWAp/Tk7lzSwnP/LcJ6qPxcX7MLvD4TqL8lTsE5AlwdR8t0+pO/dxtp1ixOr5ns++ s3sd7gBtPSGZD4hIlt8mpSOWToQuVRXRqftcZeayyiJAhSiZQCW01nv1YYX/IeM6cPogcJ TArz/1pIMYFXAUof+dNWj5K3XpcQFDZhJ9PhoDzR3QQ5ARyWM5Ww0zQbQjz4IBNZHGKkYE aOQxV+F0DIB6CYK/bzVRUziB+EKfpF36HCFsLzBRQ0EI3CZSrcVK+SGs7MSjpcjBIuEpK4 0Jkv9J/EH6FrXVs76wYHpF5dWRxKYP2HV0ZCC9FwXJs20bbsfWbsSDwg7D/WYQ== ARC-Seal: i=1; s=key1; d=johnnyrichard.com; t=1710333875; a=rsa-sha256; cv=none; b=jZYA2oOhD58NPR309OobAY/spelypAIRXAfcf7fu98njErCOgVSGoc7syRDyUtt88cl1a9 w6qo8AeL6Hf0JBGxPTXFJS1qha9Oi2yUfribq/wkRI2qd9RzfW4zXkCLJpCsh4F/c9WRje gO5JWbsrv+3CDR42KlDpwsGLS4m41uPZj0z7X5ACByWl63uUNrs+gzXsAJyYNuri1Zp1UN ydsd7c81CgN5KYnMR4eT4ypKYFvualCkHlqGiaIp0BdMmx6KXpI223inxtestdCOTdyg4z 4fZqYCsniTG4G44ZhE/cDcXC28LxzZZn7fYHbHOvV9/z0LOy4TlcOMNSMb6d+g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=dl9wFiaJ; dkim=pass header.d=fabiomaciel.com header.s=key1 header.b="wKGsS/qR"; spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht; dmarc=pass (policy=quarantine) header.from=fabiomaciel.com 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 5491359BEF for ; Wed, 13 Mar 2024 13:44:35 +0100 (CET) DKIM-Signature: a=rsa-sha256; bh=3MeH5B+ojU/YVSdqiggkXOrq+bk9bzja4up3+Y4BY50=; 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=1710333875; v=1; b=dl9wFiaJksqPBe9kcsGwwUvAXbBh9sGx/PPWUN1NWCX1dlRqwraAGMXzJQhzjeD+/ScQGXhv /BUq2kMY20geMG+kNOdyolGf/ZRKBR/aPIQw0a4ci+cm+VZqA8/lG2Sb8OIUdeUoK1DFMzmJKZ8 Bjh/vXZglVDw7gGzybtQg2cOU6JmvPDVaceYXxD65GrFKfBzB+6rjdJth+FnRoAeCKJmB3sSjpl eq/mhWCw++fy6lDjaMDbjU/sVUe+oPTGWRVVDCV/MHS5staRwMnR4wtEtJ+V24tmPnXSx/Ie0Vi ZO0XnExXJnD6jEgYesfQSauvC40FhT5WSYXoGHcWs2l0w== Received: from lists.sr.ht (unknown [46.23.81.154]) by mail-a.sr.ht (Postfix) with ESMTPSA id 25BFE2027B for ; Wed, 13 Mar 2024 12:44:35 +0000 (UTC) Received: from out-177.mta0.migadu.com (out-177.mta0.migadu.com [91.218.175.177]) by mail-a.sr.ht (Postfix) with ESMTPS id 6909320240 for <~johnnyrichard/olang-devel@lists.sr.ht>; Wed, 13 Mar 2024 12:44:34 +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=fabiomaciel.com; s=key1; t=1710333873; 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=TctQkKEKO7c/M5YNAK+RznWkPccjRVMgm6F5jczETzY=; b=wKGsS/qRMDsB8gRfSyUubAhuDzSLAH50nUEBVvpovt4ie3BobnXQJDWG/GYT4x5jEJ7l2j EuG7imeeBzt1MMToW9L2BCLtDC6V/fo1KoujT6L8+M/iJ4nM8DhxcUC6EpNbJnW2aOGQ6T NEw0VdGhjE4bc+JkEQSUEQUwrdtVsNrQD9sBbNen37I1PxHEofxFrr/78OIGynsv8exlqI c1t7vtPbf1ls5UlwH7b7HQR76O5STlLtKZ/a4MBrQhqdglqoxZKl0bNoCFQ5JvIWUEeRLn cnx1EP9O0JozobwBMY9gxOvwqwS5dJS09OMs4voKtoVh9D9Dy2XIWfODI4nEWA== From: Fabio Maciel To: ~johnnyrichard/olang-devel@lists.sr.ht Cc: Johnny Richard , Maria Ruy , Fabio Maciel Subject: [PATCH olang v3] refactor: rename zero programming language to olang Date: Wed, 13 Mar 2024 09:44:26 -0300 Message-Id: <20240313124426.51221-1-fabio@fabiomaciel.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-Spam-Score: -7.19 X-Spam-Score: -7.19 X-Migadu-Queue-Id: 5491359BEF X-Migadu-Scanner: mx11.migadu.com X-TUID: xZZ4FVy3wuO4 From: Johnny Richard 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 Co-authored-by: Maria Ruy Co-authored-by: Fabio Maciel --- V4 fix docs/Makefile .gitignore | 2 +- Makefile | 4 ++-- docs/Makefile | 2 +- docs/index.md | 2 +- docs/manpages/{0c.md => olang.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 => olang.md} (74%) rename examples/{main_exit.0 => main_exit.ol} (100%) diff --git a/.gitignore b/.gitignore index fc7d161..a565aae 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -0c +olang build *.o docs/site.tar.gz diff --git a/Makefile b/Makefile index 662d039..cdfc8e1 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -TARGET := 0c +TARGET := olang 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..c890eca 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)/olang.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/olang.md similarity index 74% rename from docs/manpages/0c.md rename to docs/manpages/olang.md index e3d3cfc..c54c597 100644 --- a/docs/manpages/0c.md +++ b/docs/manpages/olang.md @@ -1,21 +1,21 @@ -% 0C(1) +% OLANG(1) % olang mantainers % Feb 2024 # NAME -0c - zero language compiler +olang - O Programming Language compiler # SYNOPSIS -**0c** +**olang** source_file [**----dump-tokens**] [**--o** output_file [**----save-temps**]] # DESCRIPTION -**0c** is the offical compiler for zero language, it is also a tool that +**olang** 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..fe8f705 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 **olang** 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