Content pfp
Content
@
https://opensea.io/collection/dev-21
0 reply
0 recast
2 reactions

Breck Yunits pfp
Breck Yunits
@breck
Microprogramming: a new way to program
2 replies
0 recast
4 reactions

Connor McCormick ☀️ pfp
Connor McCormick ☀️
@nor
What’s an example of a useful microprogram?
1 reply
0 recast
1 reaction

Breck Yunits pfp
Breck Yunits
@breck
I just updated the blog post with a QA that includes an annotated example https://breckyunits.com/microprograms.html
1 reply
0 recast
0 reaction

Connor McCormick ☀️ pfp
Connor McCormick ☀️
@nor
Why is a microprogram not just a function, procedure, or method?
1 reply
0 recast
1 reaction

Breck Yunits pfp
Breck Yunits
@breck
It is accurate to say a microprogram is a function with 0 or more params. The difference is all functions are not easy to copy/paste/concatenate/mix and match, whereas all microprograms are. Languages need to be designed for microprogramming.
1 reply
0 recast
1 reaction

Connor McCormick ☀️ pfp
Connor McCormick ☀️
@nor
Why is it not functional programming?
1 reply
0 recast
1 reaction

Breck Yunits pfp
Breck Yunits
@breck
It can also be considered functional programming. This is great feedback, thanks. I realize the main point is not getting across. The key insight is that the Particles syntax _matters_. Your language must be designed for microprogramming at the ground level. If you can represent your language in BNF form, it is NOT designed for microprogramming. If you cannot easily chop your programs into microprograms (for example, if your lang has parens), it is not microprogramming. This does NOT work for context free grammars. You _must_ use the Particle Syntax (or another similar syntax) to separate particles. Particles allows for parallel parsing/computation (you can split a file into 1,000 microprograms and each can be parsed by their own parser in parallel). If your program requires being parsed by a top down parser, it is not microprogramming. The program must be able to be chopped up into many microprograms and delegated to microparsers. (of course, a blend of the 2 exists).
0 reply
0 recast
0 reaction