mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,4 Tsd.
aktive Profile

#line

4 Beiträge4 Beteiligte0 Beiträge heute

Viva's Hands.
G.
Two hands with their backs facing up, reaching upwards, ready to seize life . This is a black and white hand portrait drawing in charcoal on paper . Permission graciously ceded from an original photo 

[ Prints : james-mccormack.pixels.com/fea ]

#vivashands #viva #hands #blackandwhite #portrait #hands #exoerience #touch #emotion
#texture #line #monochrome #draw #realistic #buyintoart #FediGiftShop #MastoArt

alojapan.com/1366208/tokyos-bu Tokyo’s busy Yamanote loop line to go driverless by 2035 #2035 #busy #driverless #go #Line #loop #Tokyo #TokyoTopics #tokyo's #Yamanote #東京 #東京都 Transportation JR East also to invest in safety, aiming to cut accidents by 30% The iconic Yamanote loop in central Tokyo will feature driverless train cars 10 years from now. (Photo by Konosuke Urata) KOTARO ABE September 10, 2025 05:57 JST TOKYO — Japan’s JR East looks to roll out an autonomo

Fortgeführter Thread

Lets say we use type-checked Lua (possibly in a special mode), since that aids new parsing techniques. And allows us to reuse the scanner I designed for parsing Lua, inlining those routines. Wrapped in a routine to track line number & filename, which can be set via the #line directive.

Getting back to lexing... GLSL has similar lexing rules to C, except we don't have strings. Too high-level for GLSL!

That is we split the file into numbers, identifiers & keywords, symbols, & punctuation.

2/3!

Fortgeführter Thread

I'd track a stack of control-flow preprocessor lines tracking whether to keep or discard the lines between them, inserting #line where needed. This is how I'd handle #if, #elif, #else, #endif, #ifdef, #ifndef, #elifdef, #elifndef.

Some of these take identifiers whose presence it should check in the macros table, others would interpret infix expressions via a couple stacks & The Shunting Yard Algorithm. Or they simply end a control-flow block.

#undef removes an entry from the macros table.

3/4

#include would read the named file & concatenate into the output string preceded by a #line directive. #embed would work similarly, but reformats the read bytes into hexadecimal literals.

#define would extract the identifier & parse the following optional argument list & body removing (escaped) newlines to load into a "macro" table.

Non-preprocessor lines would be scanned for these macros' identifiers to perform a find & replace, recursing to handle substitute in parameters.

2/3?

GLSL, OpenGL's standard language for programs ran on the GPU, includes what closely resembles C's preprocessor. So how'd we reimplement this for our risc32cfimv?

Incidentally GLSL specifically excludes #include, so (using the hardware I introduced the other day) we could run on this on a ROM-bank without filesystem routines. But #include sounds handy so I'm tempted to suggest that I'd implement it anyways!

In which case I'd love #line to be handled later, & even synthesize new ones.

1/?

Слабкі сторони створення зображень ШІ
Найбільша вада програмного забезпечення для створення мистецтва штучного інтелекту полягає в тому, що воно повністю ігнорує основи та переходить безпосередньо до розфарбовування самого зображення.

pixiv.net/novel/show.php?id=23

<>

pixiv#foundation #create Слабкі сторони створення зображе - pixivНайбільша вада програмного забезпечення для створення мистецтва штучного інтелекту полягає в тому, що воно повністю ігнорує основи та перехо
#weaknesses#image#generation