<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>slash, branch HEAD</title>
<subtitle>slash is a simple type-oriented programming language
</subtitle>
<entry>
<id>20a5e899de62e071df698db1b8b12a676ef25764</id>
<published>2026-04-06T18:18:01Z</published>
<updated>2026-04-06T18:18:01Z</updated>
<title type="text">lex: stack for tokens</title>
<link rel="alternate" type="text/html" href="commit/20a5e899de62e071df698db1b8b12a676ef25764.html" />
<author>
<name>Mario Rosell R. Martinez</name>
<email>mario@mariorosell.es</email>
</author>
<content type="text">commit 20a5e899de62e071df698db1b8b12a676ef25764
parent 063eecc545062e319001d61c9cc2308636b4e6a9
Author: Mario Rosell R. Martinez &lt;mario@mariorosell.es&gt;
Date:   Mon,  6 Apr 2026 20:18:01 +0200

lex: stack for tokens

</content>
</entry>
<entry>
<id>063eecc545062e319001d61c9cc2308636b4e6a9</id>
<published>2026-04-05T10:05:08Z</published>
<updated>2026-04-05T10:05:08Z</updated>
<title type="text">build: clean dependencies</title>
<link rel="alternate" type="text/html" href="commit/063eecc545062e319001d61c9cc2308636b4e6a9.html" />
<author>
<name>Mario Rosell R. Martinez</name>
<email>mario@mariorosell.es</email>
</author>
<content type="text">commit 063eecc545062e319001d61c9cc2308636b4e6a9
parent b5bd5389506726f10fac668fe4a79c6003de12eb
Author: Mario Rosell R. Martinez &lt;mario@mariorosell.es&gt;
Date:   Sun,  5 Apr 2026 12:05:08 +0200

build: clean dependencies

Now the `clean` target also removes ${DEPS}

</content>
</entry>
<entry>
<id>b5bd5389506726f10fac668fe4a79c6003de12eb</id>
<published>2026-04-05T09:58:14Z</published>
<updated>2026-04-05T09:58:14Z</updated>
<title type="text">lex: fixes</title>
<link rel="alternate" type="text/html" href="commit/b5bd5389506726f10fac668fe4a79c6003de12eb.html" />
<author>
<name>Mario Rosell R. Martinez</name>
<email>mario@mariorosell.es</email>
</author>
<content type="text">commit b5bd5389506726f10fac668fe4a79c6003de12eb
parent bf50a1a701cd18b1ef3ad09847171ed8312ef7e1
Author: Mario Rosell R. Martinez &lt;mario@mariorosell.es&gt;
Date:   Sun,  5 Apr 2026 11:58:14 +0200

lex: fixes

</content>
</entry>
<entry>
<id>bf50a1a701cd18b1ef3ad09847171ed8312ef7e1</id>
<published>2026-04-04T19:56:55Z</published>
<updated>2026-04-04T19:56:55Z</updated>
<title type="text">lex: no more magic numbers</title>
<link rel="alternate" type="text/html" href="commit/bf50a1a701cd18b1ef3ad09847171ed8312ef7e1.html" />
<author>
<name>Mario Rosell R. Martinez</name>
<email>mario@mariorosell.es</email>
</author>
<content type="text">commit bf50a1a701cd18b1ef3ad09847171ed8312ef7e1
parent bfed49ae6902cd426b248f777da69cefa7d7f848
Author: Mario Rosell R. Martinez &lt;mario@mariorosell.es&gt;
Date:   Sat,  4 Apr 2026 21:56:55 +0200

lex: no more magic numbers

</content>
</entry>
<entry>
<id>bfed49ae6902cd426b248f777da69cefa7d7f848</id>
<published>2026-04-04T19:00:58Z</published>
<updated>2026-04-04T19:00:58Z</updated>
<title type="text">mem: don&#39;t memfault on missing file</title>
<link rel="alternate" type="text/html" href="commit/bfed49ae6902cd426b248f777da69cefa7d7f848.html" />
<author>
<name>Mario Rosell R. Martinez</name>
<email>mario@mariorosell.es</email>
</author>
<content type="text">commit bfed49ae6902cd426b248f777da69cefa7d7f848
parent 40b42f71c5030cce7816ffb03e6c8c5319103caf
Author: Mario Rosell R. Martinez &lt;mario@mariorosell.es&gt;
Date:   Sat,  4 Apr 2026 21:00:58 +0200

mem: don&#39;t memfault on missing file

fclose()&#39;ing a file twice returns in a memfault, so now if you open an
unexistent file, then it does not memfault after perror()&#39;ing

</content>
</entry>
<entry>
<id>40b42f71c5030cce7816ffb03e6c8c5319103caf</id>
<published>2026-04-04T12:07:28Z</published>
<updated>2026-04-04T12:07:28Z</updated>
<title type="text">build: dependency generation</title>
<link rel="alternate" type="text/html" href="commit/40b42f71c5030cce7816ffb03e6c8c5319103caf.html" />
<author>
<name>Mario Rosell R. Martinez</name>
<email>mario@mariorosell.es</email>
</author>
<content type="text">commit 40b42f71c5030cce7816ffb03e6c8c5319103caf
parent 51d8b2f74e4652b3955624fc080c0f27b1f92d51
Author: Mario Rosell R. Martinez &lt;mario@mariorosell.es&gt;
Date:   Sat,  4 Apr 2026 14:07:28 +0200

build: dependency generation

Now build tracking is more precise.

</content>
</entry>
<entry>
<id>51d8b2f74e4652b3955624fc080c0f27b1f92d51</id>
<published>2026-04-04T12:02:29Z</published>
<updated>2026-04-04T12:02:29Z</updated>
<title type="text">git: add gitignore</title>
<link rel="alternate" type="text/html" href="commit/51d8b2f74e4652b3955624fc080c0f27b1f92d51.html" />
<author>
<name>Mario Rosell R. Martinez</name>
<email>mario@mariorosell.es</email>
</author>
<content type="text">commit 51d8b2f74e4652b3955624fc080c0f27b1f92d51
parent 2c5b5b85922af2473f3e8a3f1edfe67ec13d759e
Author: Mario Rosell R. Martinez &lt;mario@mariorosell.es&gt;
Date:   Sat,  4 Apr 2026 14:02:29 +0200

git: add gitignore

to ignore trash

</content>
</entry>
<entry>
<id>2c5b5b85922af2473f3e8a3f1edfe67ec13d759e</id>
<published>2026-04-04T11:53:05Z</published>
<updated>2026-04-04T11:59:48Z</updated>
<title type="text">stat, lex,pipeline: add pipeline, improve lexer, and store i_fstream</title>
<link rel="alternate" type="text/html" href="commit/2c5b5b85922af2473f3e8a3f1edfe67ec13d759e.html" />
<author>
<name>Mario Rosell R. Martinez</name>
<email>mario@mariorosell.es</email>
</author>
<content type="text">commit 2c5b5b85922af2473f3e8a3f1edfe67ec13d759e
parent bf8674c31ca8a6dfd0f92d1996d09e22db3c3b20
Author: Mario Rosell R. Martinez &lt;mario@mariorosell.es&gt;
Date:   Sat,  4 Apr 2026 13:53:05 +0200

stat, lex,pipeline: add pipeline, improve lexer, and store i_fstream

Since I/O is kinda expensive, we now store a two-bytes lookahead buffer, instead
of ungetc&#39;ing everytime.

Also added a pipeline.c file so main can remain like six lines of code, LOL. Oh,
and now the FILE* of the opened i_infile is stored on a i_fstream member of the
stat struct.

</content>
</entry>
<entry>
<id>bf8674c31ca8a6dfd0f92d1996d09e22db3c3b20</id>
<published>2026-04-04T09:47:43Z</published>
<updated>2026-04-04T09:47:43Z</updated>
<title type="text">build: make it portable across makes</title>
<link rel="alternate" type="text/html" href="commit/bf8674c31ca8a6dfd0f92d1996d09e22db3c3b20.html" />
<author>
<name>Mario Rosell R. Martinez</name>
<email>mario@mariorosell.es</email>
</author>
<content type="text">commit bf8674c31ca8a6dfd0f92d1996d09e22db3c3b20
parent 15c5cf091ac990eb1e69c3fced21d2389d9aef96
Author: Mario Rosell R. Martinez &lt;mario@mariorosell.es&gt;
Date:   Sat,  4 Apr 2026 11:47:43 +0200

build: make it portable across makes

Now it works with both bmake and gmake, basically just changed the ${.VARIABLES}
things to more sustainable standard $&lt; and $@. I don&#39;t know if on bmake this is
even idiomatic, but hey! IT WORKS, that is all I care about.

</content>
</entry>
<entry>
<id>15c5cf091ac990eb1e69c3fced21d2389d9aef96</id>
<published>2026-04-04T09:45:53Z</published>
<updated>2026-04-04T09:46:40Z</updated>
<title type="text">please work</title>
<link rel="alternate" type="text/html" href="commit/15c5cf091ac990eb1e69c3fced21d2389d9aef96.html" />
<author>
<name>Mario Rosell R. Martinez</name>
<email>mario@mariorosell.es</email>
</author>
<content type="text">commit 15c5cf091ac990eb1e69c3fced21d2389d9aef96
parent 49e03746f96a0ee887a57d61e608fabc6bc9aa5b
Author: Mario Rosell R. Martinez &lt;mario@mariorosell.es&gt;
Date:   Sat,  4 Apr 2026 11:45:53 +0200

please work

</content>
</entry>
<entry>
<id>49e03746f96a0ee887a57d61e608fabc6bc9aa5b</id>
<published>2026-04-04T09:38:32Z</published>
<updated>2026-04-04T09:38:32Z</updated>
<title type="text">lex (organization): move stuff to header</title>
<link rel="alternate" type="text/html" href="commit/49e03746f96a0ee887a57d61e608fabc6bc9aa5b.html" />
<author>
<name>Mario Rosell R. Martinez</name>
<email>mario@mariorosell.es</email>
</author>
<content type="text">commit 49e03746f96a0ee887a57d61e608fabc6bc9aa5b
parent 09f67e20c4e9ecdbe9c81e6793263d04d1490f20
Author: Mario Rosell R. Martinez &lt;mario@mariorosell.es&gt;
Date:   Sat,  4 Apr 2026 11:38:32 +0200

lex (organization): move stuff to header

oops... i made lex.c self-contained! Now other files can use lex.h better, I guess.

I am sure I am missing something though...

</content>
</entry>
<entry>
<id>09f67e20c4e9ecdbe9c81e6793263d04d1490f20</id>
<published>2026-04-04T09:35:45Z</published>
<updated>2026-04-04T09:35:45Z</updated>
<title type="text">lex (minor): include header for completeness</title>
<link rel="alternate" type="text/html" href="commit/09f67e20c4e9ecdbe9c81e6793263d04d1490f20.html" />
<author>
<name>Mario Rosell R. Martinez</name>
<email>mario@mariorosell.es</email>
</author>
<content type="text">commit 09f67e20c4e9ecdbe9c81e6793263d04d1490f20
parent 167f24900885329f9e5305496ba8917ec1b643c4
Author: Mario Rosell R. Martinez &lt;mario@mariorosell.es&gt;
Date:   Sat,  4 Apr 2026 11:35:45 +0200

lex (minor): include header for completeness

</content>
</entry>
<entry>
<id>167f24900885329f9e5305496ba8917ec1b643c4</id>
<published>2026-04-04T09:32:29Z</published>
<updated>2026-04-04T09:32:29Z</updated>
<title type="text">stat: record input file</title>
<link rel="alternate" type="text/html" href="commit/167f24900885329f9e5305496ba8917ec1b643c4.html" />
<author>
<name>Mario Rosell R. Martinez</name>
<email>mario@mariorosell.es</email>
</author>
<content type="text">commit 167f24900885329f9e5305496ba8917ec1b643c4
parent 67caaf3025f80fef4af72cba3dac2dfb0dcf13af
Author: Mario Rosell R. Martinez &lt;mario@mariorosell.es&gt;
Date:   Sat,  4 Apr 2026 11:32:29 +0200

stat: record input file

Added an i_infile field to stat, and made cli store src there.

</content>
</entry>
<entry>
<id>67caaf3025f80fef4af72cba3dac2dfb0dcf13af</id>
<published>2026-04-04T09:27:16Z</published>
<updated>2026-04-04T09:27:16Z</updated>
<title type="text">lex: add simple lexer</title>
<link rel="alternate" type="text/html" href="commit/67caaf3025f80fef4af72cba3dac2dfb0dcf13af.html" />
<author>
<name>Mario Rosell R. Martinez</name>
<email>mario@mariorosell.es</email>
</author>
<content type="text">commit 67caaf3025f80fef4af72cba3dac2dfb0dcf13af
parent 039616ce0bc89c6ee3bf968e32d2a707ed942c86
Author: Mario Rosell R. Martinez &lt;mario@mariorosell.es&gt;
Date:   Sat,  4 Apr 2026 11:27:16 +0200

lex: add simple lexer

Works using a simple DFA and tables. I still have to implement the pipeline,
though.

This lexer is still just a prototype ok? Don&#39;t take it as &quot;final&quot; or something.

</content>
</entry>
<entry>
<id>039616ce0bc89c6ee3bf968e32d2a707ed942c86</id>
<published>2026-04-03T19:07:26Z</published>
<updated>2026-04-03T19:07:26Z</updated>
<title type="text">doc: documenttion</title>
<link rel="alternate" type="text/html" href="commit/039616ce0bc89c6ee3bf968e32d2a707ed942c86.html" />
<author>
<name>Mario Rosell R. Martinez</name>
<email>mario@mariorosell.es</email>
</author>
<content type="text">commit 039616ce0bc89c6ee3bf968e32d2a707ed942c86
parent ac3e634f7644765213cc242dfad9e765b223cedf
Author: Mario Rosell R. Martinez &lt;mario@mariorosell.es&gt;
Date:   Fri,  3 Apr 2026 21:07:26 +0200

doc: documenttion

</content>
</entry>
<entry>
<id>ac3e634f7644765213cc242dfad9e765b223cedf</id>
<published>2026-04-03T14:15:16Z</published>
<updated>2026-04-03T14:15:16Z</updated>
<title type="text">hardening: header guards</title>
<link rel="alternate" type="text/html" href="commit/ac3e634f7644765213cc242dfad9e765b223cedf.html" />
<author>
<name>Mario Rosell R. Martinez</name>
<email>mario@mariorosell.es</email>
</author>
<content type="text">commit ac3e634f7644765213cc242dfad9e765b223cedf
parent 755a6df5675a40a81c66bdacc43d029fd349247f
Author: Mario Rosell R. Martinez &lt;mario@mariorosell.es&gt;
Date:   Fri,  3 Apr 2026 16:15:16 +0200

hardening: header guards

Forgot to add header guards to all headers. Basically stops you from importing a
header twice accidentally.

By the way, now *ever* header should have this at the start:

	/*
	 * my-header.h -- description
	 */

	#ifndef MY_HEADER_H
	#define MY_HEADER_H

followed by the source, and end with

	#endif /* MY_HEADER_H */

I wil add this soon to a CONTRIBUTING or HACKING file or whatever :P.

</content>
</entry>
<entry>
<id>755a6df5675a40a81c66bdacc43d029fd349247f</id>
<published>2026-04-03T14:11:55Z</published>
<updated>2026-04-03T14:11:55Z</updated>
<title type="text">stat: new stat_t struct for stat, and fix messages</title>
<link rel="alternate" type="text/html" href="commit/755a6df5675a40a81c66bdacc43d029fd349247f.html" />
<author>
<name>Mario Rosell R. Martinez</name>
<email>mario@mariorosell.es</email>
</author>
<content type="text">commit 755a6df5675a40a81c66bdacc43d029fd349247f
parent 1338dcdb67113c73ec12c0e7cdce8ba093d2e7f5
Author: Mario Rosell R. Martinez &lt;mario@mariorosell.es&gt;
Date:   Fri,  3 Apr 2026 16:11:55 +0200

stat: new stat_t struct for stat, and fix messages

This new struct should make it easier to work with, and also put ttmxm: for
messages instead of slash:, ttmxm is another project I am working on, so yeah,
my fault, I messed up :(.

</content>
</entry>
<entry>
<id>1338dcdb67113c73ec12c0e7cdce8ba093d2e7f5</id>
<published>2026-04-03T12:44:22Z</published>
<updated>2026-04-03T12:44:22Z</updated>
<title type="text">cli: add rudimentary cli</title>
<link rel="alternate" type="text/html" href="commit/1338dcdb67113c73ec12c0e7cdce8ba093d2e7f5.html" />
<author>
<name>Mario Rosell R. Martinez</name>
<email>mario@mariorosell.es</email>
</author>
<content type="text">commit 1338dcdb67113c73ec12c0e7cdce8ba093d2e7f5
parent e1b1d240acc5248539c2d0139bfa4fb0d8b2f22a
Author: Mario Rosell R. Martinez &lt;mario@mariorosell.es&gt;
Date:   Fri,  3 Apr 2026 14:44:22 +0200

cli: add rudimentary cli

</content>
</entry>
<entry>
<id>e1b1d240acc5248539c2d0139bfa4fb0d8b2f22a</id>
<published>2026-04-03T12:43:40Z</published>
<updated>2026-04-03T12:43:40Z</updated>
<title type="text">Initial commit</title>
<link rel="alternate" type="text/html" href="commit/e1b1d240acc5248539c2d0139bfa4fb0d8b2f22a.html" />
<author>
<name>Mario Rosell R. Martinez</name>
<email>mario@mariorosell.es</email>
</author>
<content type="text">commit e1b1d240acc5248539c2d0139bfa4fb0d8b2f22a
Author: Mario Rosell R. Martinez &lt;mario@mariorosell.es&gt;
Date:   Fri,  3 Apr 2026 14:43:40 +0200

Initial commit

</content>
</entry>
</feed>
