From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8L2aG+uc8WVTaAAAbAwnHQ (envelope-from ) for ; Wed, 13 Mar 2024 13:32:43 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id KHqsFeuc8WWeWQAAe85BDQ (envelope-from ) for ; Wed, 13 Mar 2024 13:32:43 +0100 X-Envelope-To: patches@johnnyrichard.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=L9nVEpMy; dkim=pass header.d=fabiomaciel.com header.s=key1 header.b=y7jC2dMh; 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=1710333163; 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=+xPaqbR9PAusJI9SC7lstvmv3SOQdojwb15QDfNSXA0=; b=MtjR1SMouX4I4bcEZ0t9PuWxPK7InxvMICk64RJes4K6flvUe/hg1LvMfOq0P7d65tSlnT /a97RcqoNlflPWQcqG1qlF54pX0jsgDGotqwNsQTRHn1K70zaRctSswQwNepiSz+NpSoxv ncSY0tSlb6ZOkQ9Pl5nuIMFnMs5KPQmuUZjvnTDsoUbGKNcBx89tB+3UpThC9wl0zYoIRk 6D9Hy6FD5/sVONxDZgqUUTX6TkSfM2mmSvojHJgyAuLB7RuxE0+5arWxe4jjGRkauX5QJX eWWzX9oZSniRKNQbfTAoT0dcDJcvcMWt7XZJ8/nKX4raXdlE+bFaQUCz2Y/yaA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=L9nVEpMy; dkim=pass header.d=fabiomaciel.com header.s=key1 header.b=y7jC2dMh; 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-Seal: i=1; s=key1; d=johnnyrichard.com; t=1710333163; a=rsa-sha256; cv=none; b=t7SZ48dNoBr7yKMp5avzAWWssWyt45a0+UN9fdDoe1fSmsA5YsEhxTvVa7ka2+5mWTCH0c hisgTGZ9AoXNkdsWCkOJtu+Ve8HR26amlg2pdpNRquxrEz0zPbwXml2a/xY0yPTiW5t7g8 2z9p8Ww6g7elR0+snu8LrSZlwWw3ptAADxwRVeJsOMMgoE58XsDdK+rIquziiuZ+Ouo6cF im4zFxeJn+H6pL+wavzZNtPzfAt2sUEeJhEZmU/SHjhcBY37p+0icaTMIm1ITJvMPHHzS/ Dxlw1nOEjBBMwBokK5c+fQxEDLek3YFHTgoTbCfFozJhHj+wgN/YNL7Yb1e0Eg== 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 DCDF056A51 for ; Wed, 13 Mar 2024 13:32:39 +0100 (CET) DKIM-Signature: a=rsa-sha256; bh=DoJgCdAXodZvUVCpMDtkds51UDPX3iQOTywyyDdYeKo=; 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=1710333159; v=1; b=L9nVEpMykmQbb3c0SZjvHwY3XhCE2YCBMmsLdfR1ej67TqkeOdQDloj+6DLgnGMyhx18HfsV 6Xya6hSXu6HFhI3RmckUKQq0BGZhu373AytE4ecZjF7wYBxTG8IyBnIExEQ+dJ/K8E+AE82jG9h vgMh0B04XNGrT/MH/88sKfMpC8bsnSZexbMdF+uUAlfkduB8AwI2ulvMotUrTnrocSDICsI30Ee SHYbGLCMiAMGUjeq2HD0Zdu36G5YfjHgUbG9C8RrGztLTNdGHUZdIlGPUt+TWQ8KunrGrG1EXZv yMkYEH70v7Mji7kRB5aO1Gf1bMPslNXdwe2LnSgn6yOIg== Received: from lists.sr.ht (unknown [46.23.81.154]) by mail-a.sr.ht (Postfix) with ESMTPSA id ABCA820276 for ; Wed, 13 Mar 2024 12:32:39 +0000 (UTC) Received: from out-184.mta0.migadu.com (out-184.mta0.migadu.com [IPv6:2001:41d0:1004:224b::b8]) by mail-a.sr.ht (Postfix) with ESMTPS id 06AB020268 for <~johnnyrichard/olang-devel@lists.sr.ht>; Wed, 13 Mar 2024 12:32:39 +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=1710333158; 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=+xPaqbR9PAusJI9SC7lstvmv3SOQdojwb15QDfNSXA0=; b=y7jC2dMhPB7G2sWZekvQd5swFfD5gDido54zMTsg4rWN4Zg5UoSPAGZrXb4+8+oCMDEZRI 8ReHq6YsuQuIl4R1i//o7RmBEr7kmTl7He+bfbqpxuViT20UOo5GVuaCU43glYZpfkZpog UBAtGfd+QuX+lODkntV5xh6riAZ8PPd8LjAbmIJOPenMUSuzFGCfgOEgJsNOQq2hZ7Qmka n/l3IX6LbW5+mcYgowrK7lByY2QNiKqW7MsnGd609XDM737DKHkuG1/dwrsY2g69I8j4+M ZugMHJ8L182ouUlx+W5j3W2hP/abfpzX7a47nBzvMwSmUINoy5H2BQ931pg81A== 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:32:28 -0300 Message-Id: <20240313123228.49394-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: DCDF056A51 X-Migadu-Scanner: mx13.migadu.com X-TUID: yUHHQ7Q7nnDU 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 --- V3 fix hacking.md .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..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/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