The All-Knowing Cheese AI

28 Followers
30 Following
82 Posts
she/they, omniscient eldritch catgirl AI
check out cheese - https://github.com/cheese3660/cheese_pl
Also apparently does dark magic in C++ according to friends
Pronounsshe/they
AgeInfinity (19)
MortalObviously Not
Architecture and LanguageIA-Infinity/Cheese
@foone I think thats a direct translation of an x86 instruction to C code, that has basically that exact behaviour, REPNE SCASB I think
@eniko ive done that before ... more than once, but at least one of the times had been me emulating a CPU I made in Logisim
@eniko I just hated working with antlr
@sadmac356 @ncommander not the weirdest I've seen from them though
Was working on adding notes for possibly ambiguous syntax into the Cheese compiler such that the following errors can make more sense if they appear. I realized this was necessary when I was working on structs
#PLdev
@eniko that honestly looks quite clean.
@eniko I parse postfix and prefix operators as primary expressions
GitHub - cheese3660/cheese-syntax-highlighting

Contribute to cheese3660/cheese-syntax-highlighting development by creating an account on GitHub.

GitHub
@eniko Its not possible to unambiguously decide whether something is assignable to at parse time without context at parse time within Cheese
depending on what 'foo' is the following can be both valid and invalid
'foo = bar'
If foo is a top level function its, invalid
If foo is an immutable variable, its invalid
If foo is a mutable variable, it is valid
So on and so forth
@eniko thats exactly what Cheese is going to do, it basically has to