Build with:
./configure bash_cv_getenv_redef=no bash_cv_getcwd_malloc=yes bash_cv_func_sigsetjmp=missing --without-bash-malloc --host=aarch64-unknown-toaru
| diff --git a/src/compiler.c b/src/compiler.c | |
| index 9705fc0..855084d 100644 | |
| --- a/src/compiler.c | |
| +++ b/src/compiler.c | |
| @@ -3567,6 +3567,16 @@ static void list(struct GlobalState * state, int exprType, RewindState *rewind) | |
| /* Nested fun times */ | |
| state->parser.previous = syntheticToken("<listcomp>"); | |
| comprehensionExpression(state, scannerBefore, parserBefore, listInner, OP_MAKE_LIST); | |
| + } else if (match(TOKEN_ELLIPSIS)) { | |
| + expression(state); |
Build with:
./configure bash_cv_getenv_redef=no bash_cv_getcwd_malloc=yes bash_cv_func_sigsetjmp=missing --without-bash-malloc --host=aarch64-unknown-toaru
| /** | |
| * @brief Wallpaper generator from Sortix. | |
| * | |
| * Image generator: | |
| * | |
| * Copyright (c) 2014-2016, 2018, 2022-2024 Jonas 'Sortie' Termansen. | |
| * | |
| * Permission to use, copy, modify, and distribute this software for any | |
| * purpose with or without fee is hereby granted, provided that the above | |
| * copyright notice and this permission notice appear in all copies. |
| CFLAGS=$(shell pkg-config --cflags freetype2) | |
| LDLIBS=$(shell pkg-config --libs freetype2) | |
| all: bake |
| /** | |
| * @brief Pairing heap. | |
| * @file module__pheap.c | |
| * @author K. Lange <klange@toaruos.org> | |
| * | |
| * A very simple pairing heap. | |
| * | |
| * Provides a min-heap with insert, peek, and pop. | |
| * | |
| * While heap entries may be mutable, care should be taken not to modify |
This is a repost and update to an imgur album with screenshots of ToaruOS throughout its development, as imgur is no longer a viable platform for maintaining this collection.
My first commit in the ToaruOS repository, ecd4fe2bc170b01ad700ff76c16da96993805355, was made on January 15th, 2011. This date has become ToaruOS's "birthday". It would be another six years and two weeks before ToaruOS's first real release, 1.0.
| #include "os.h" | |
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include <stdint.h> | |
| #include <toaru/yutani.h> | |
| #include <toaru/graphics.h> | |
| #include <toaru/decorations.h> | |
| #include <toaru/menu.h> |
| Test script running on Misaka 1.99.8-3decb961-dirty only my railgun Oct 21 2021 15:40:36 (x86_64), Kuroko 1.2.0 | |
| ==== | |
| ahci: located device at 0x1f02 | |
| ahci: examining PCI config space... | |
| ahci: interrupt line = 10 | |
| ahci: BAR5 = 0xfebd9000 | |
| ahci: mapping mmio to 0xffffff1fc0001000 | |
| ahci: implemented ports = 0x3f | |
| ahci: version 1.00 | |
| ahci: Telling host controller we are aware of it. |
| >>> True or explode() | |
| <<module>() from <stdin>> | |
| 1 0 TRUE | |
| 1 JUMP_IF_TRUE_OR_POP 4 (to 8) | |
| 4 GET_GLOBAL 0 'explode' | |
| 6 CALL 0 | |
| >> 8 POP | |
| 2 9 GET_LOCAL 0 | |
| 11 RETURN |
| #include <stdio.h> | |
| struct Base { | |
| int foo; | |
| int bar; | |
| }; | |
| struct Sub { | |
| struct Base; | |
| int baz; |