🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92411

Re: INN laxmid clarification

#92411
From: Stefan Ram
Date: Thu, 04 Sep 2025 18:03
34 lines
3008 bytes
=?UTF-8?Q?Julien_=C3=89LIE?= <iulius@nom-de-mon-site.com.invalid> wrote or quoted:
>If someone has the time and the skill to write a decent parser in C to 
>decode dates in ctime(3) format, we could add it to INN and achieve your 
>dream :)

  I am not sure if this request is still relevant right now.
  If it is, the first step would be a formal grammar. 
  I could keep working on it later if needed.

  So, here is the grammar attempt for now.

<ctime-string>  ::= 
<day-of-week> " " <month> " " <day> " " <time> " " <year> "\n"

<day-of-week>   ::= "Sun" | "Mon" | "Tue" | "Wed" | "Thu" | "Fri" | "Sat"

<month>         ::= "Jan" | "Feb" | "Mar" | "Apr" | "May" | "Jun"
                  | "Jul" | "Aug" | "Sep" | "Oct" | "Nov" | "Dec"

<day>           ::= 
  " " <digit>
| <digit><digit>
(* range  1–31, first form has a leading space when <digit> is 1–9 *)

<time>          ::= <hour> ":" <minute> ":" <second>

<hour>          ::= <digit><digit>   (* 00–23 *)
<minute>        ::= <digit><digit>   (* 00–59 *)
<second>        ::= <digit><digit>   (* 00–60, leap second allowed *)

<year>          ::= <digit><digit><digit><digit>

<digit>         ::= "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"
Technical Details
Message-ID: <grammar-20250904190228@ram.dialup.fu-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.pugleaf.net!ygg-srl.newsdeef.eu!srl.newsdeef.eu!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!not-for-mail
References: <u90srm$2mhb$1@nnrp.usenet.blueworldhosting.com> <10906hu$2tvn$1@nnrp.usenet.blueworldhosting.com> <10910cj$12r8f$1@news.trigofacile.com> <87bjnv4ait.fsf@hope.eyrie.org> <10928if$3djku$1@dont-email.me> <1092n83$2c6e$1@nnrp.usenet.blueworldhosting.com> <1094pjt$15nu2$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <grammar-20250904190228@ram.dialup.fu-berlin.de>
Subject: Re: INN laxmid clarification
Date: Thu, 04 Sep 2025 18:03:27 +0000
From: ram@zedat.fu-berlin.de (Stefan Ram)
References: <u90srm$2mhb$1@nnrp.usenet.blueworldhosting.com> <10906hu$2tvn$1@nnrp.usenet.blueworldhosting.com> <10910cj$12r8f$1@news.trigofacile.com> <87bjnv4ait.fsf@hope.eyrie.org> <10928if$3djku$1@dont-email.me> <1092n83$2c6e$1@nnrp.usenet.blueworldhosting.com> <1094pjt$15nu2$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.pugleaf.net!ygg-srl.newsdeef.eu!srl.newsdeef.eu!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!not-for-mail
Newsgroups: news.software.nntp
Organization: Stefan Ram
Lines: 35
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de r3TQBiQ2kUzrwlpJ7ncEWQXvivy7DcpRQnmBDwHJws/nOk
Cancel-Lock: sha1:2Fetu2Qa6g5NrgGdqwMP853HCcA= sha256:9OD/vdPfyTDXeLhvOiijaqp5YcSK3ngjzQUQoUMyANs=
X-Copyright: (C) Copyright 2025 Stefan Ram. All rights reserved.
 Distribution through any means other than regular usenet
 channels is forbidden. It is forbidden to publish this
 article in the Web, to change URIs of this article into links,
    and to transfer the body without this notice, but quotations
    of parts in other Usenet posts are allowed.
X-No-Archive: Yes
Archive: no
X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some
 services to mirror the article in the web. But the article may
 be kept on a Usenet archive server with only NNTP access.
X-No-Html: yes
Content-Language: en