This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
beads 1 program vslice | |
var g : a_date | |
calc main_init | |
loom_timer(do_tick, delay:0 sec, interval:1 sec, reps:INFINITY) | |
calc do_tick | |
merge seconds_to_date() ===> g |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PROGRAM day01; | |
{$mode objfpc}{$H+} | |
USES | |
StrUtils, | |
SysUtils, | |
uSuporte; | |
CONST |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Red [] | |
bf: function [prog][ | |
size: 30000 | |
cells: make string! size | |
append/dup cells null size | |
parse prog [ | |
some [ | |
">" (cells: next cells) | |
| "<" (cells: back cells) | |
| "+" (cells/1: cells/1 + 1) |
OlderNewer