[ prog / sol / mona ]

prog


C compiler in 400 lines of 16bit x86 assembly

1 2024-07-03 22:56

https://github.com/xorvoid/sectorc/blob/main/sectorc.s

2 2024-07-04 04:47 *

now do lisp.
oh wait
https://justine.lol/sectorlisp2/

3 2024-07-04 10:26

So people of the old were just stupid, inventing COBOL, since one could have put a proper language on a set of 7 punched cards?

4 2024-07-04 19:46 *

>>3
tis what you get when you mix capitalism w/the art of programming

5 2024-07-05 03:40

iS tHiS ISO-C99 cOmPliANt?

6 2024-07-05 23:18

No Structs, Globals ONLY, Final Destination

7 2024-07-07 14:20 *

>>5
How close is Jone's FORTH to standard compliant (apparently no truly compliant: https://www.forth.org/ansforth/ansforth.html)? Would be interesting to an small interpreter in assembly which could run portable libraries.

8 2024-07-07 17:20 *

>>7
Looks like not too far off: https://github.com/codescribe/jonesforth/blob/master/TODO

9 2024-07-09 16:36

https://github.com/alexfru/SmallerC
This one compiles for dos (16 and 32 bit), windows and linux, can compile itself

10 2024-07-09 17:31

Very interesting (✧ω✧)

Forsp: A Forth+Lisp Hybrid Lambda Calculus Language

https://github.com/xorvoid/forsp

11 2024-07-17 14:21

>>10
Interesting 4th Lisp.

12 2024-07-18 08:47

>>10

There is a Lisp with 4th syntax.
Called Factor https://factorcode.org/

13 2024-07-19 03:05

amazing

14 2024-07-21 17:27

Did you knew that x86 MOV is turing complete?
Here is a C compiler targeting it:
https://github.com/Battelle/movfuscator?tab=readme-ov-file

Author claims people will have hard time cracking the compiled code.

15 2024-07-24 13:16

>>10
they should have called it lithp

16 2024-08-08 11:29

Hi, I'm Lex (they/them)
You've found a video about one of my many silly projects.

This one is a compiler that you communicate with by fax.

The code for it is all on github, if you want to build your own: https://github.com/lexbailey/compilerfax

17 2024-08-08 11:30

they/them

stopped reading there

18 2024-08-08 14:33

>>17

Only the gay men are obsessed about other people's genitals.
Lets keep programming clean of gaybro toxicity.

19 2024-08-09 07:37

Either 16 posted this on the wrong thread, or forgot to edit the post.
>>17
neat. The party of ignorance can't read English let alone the manual for conversing with others.

20 2024-08-16 16:24 *

>>16
Indeed.

21 2024-08-16 16:25 *

>>17
This.

22


VIP:

do not edit these