Yep, I'm doing an OS based on lists.
Suggestions?
Programs:
Calculator
Word processor (like the one that got curated)
Guess the Number game
Settings
NOTE: THIS USES A LIST AS THE UI: DO NOT SUGGEST IMPOSSIBLE THINGS!
Last edited by Firedrake969 (2012-10-17 19:11:46)
Offline
You could use my folder system, and have a file system for the OS.
Offline
Molybdenum wrote:
You could use my folder system, and have a file system for the OS.
Anything else?
Offline
Not any list-specific ideas, but yes, I do. Here are my ideas:
1). A drawing program.
2). Scratch with a built-in project. You might have to cut out the programming part of it.
3). Minesweeper.
4). A web browser.
5). Desktop destroyer.
6). A clock.
I hope that you like my ideas!
Offline
OS ideas
1. Picture Viewer
2. Song Player
3. Game Section
4. Paint
5. Pong
6. Import App system
7. App Designer project
8. Desktop that's interactive (mabye an aquarium with fish, moving grass, the ocean, stuff like that) x
9. Mouse Recorder (So that you can do repeating tasks easier)
10. Calculator
11. Graphing Calculator x
12. Color Scheme
13. A working clock (link to project)
14. Account System
15. Importable Backgrounds
16. A scratch BBCode script creator and vice versa
17. Calendar
18. Ripple Creator
19. Different Cursors
20. Graph Creator
21. Infobase (You can put information that you want to archive in a list)
22. Text Editor
23. Intruder Alert System (Detects sound level)
24. Tower Defense
25. Timer
26. Dictionary
27. A picture for users
28. Letter Art Creator
29. Bank (Money Managemenet System)
30. Simple Photo Editor
31. Microphone Tester
32. Stick Figure Animation Creator
33. Pac Man?
34. Annoying Red Button
35. Mouse Maze
36. Quiz Show
37. Escape the room game
38. City Tycoon Game
39. Random Art Generator
40. FPS counter (Frames per second
1) Anti-virus that detects viruses.
2) Music player.
3) Music editor.
4) Animation software (compatible with #6).
5) Paint.
6) Some vector editor, like Inkscape.
7) A few games, such as Chess, Solitaire, and Pac-Man.
8) Scratch! It'll be hard, but possible.
9) A download app feature.
10) People can make their own apps.
11) Apps can be added using the Import Project
Lists I compiled. Some ate mine, some are from OS help pages
Offline
Base10 wrote:
Maybe (could be a bit too hard) use programming terms on a list to define a game?
Ask them to use BCT
EDIT: Since people don't seem to like the esolang wiki, I removed the link.
Last edited by Molybdenum (2012-10-19 14:39:37)
Offline
Molybdenum wrote:
Base10 wrote:
Maybe (could be a bit too hard) use programming terms on a list to define a game?
Ask them to use [removed]
No, I refuse.
Offline
Firedrake969 wrote:
Molybdenum wrote:
Base10 wrote:
Maybe (could be a bit too hard) use programming terms on a list to define a game?
Ask them to use [removed]
No, I refuse.
Why? Its turing-complete, simple to implement, and simple to use (assuming you know what you're doing).
Offline
Molybdenum wrote:
Firedrake969 wrote:
Molybdenum wrote:
Ask them to use [removed]
No, I refuse.
Why? Its turing-complete, simple to implement, and simple to use (assuming you know what you're doing).
No.
What's BCT?
Any other ideas?
Offline
Firedrake969 wrote:
What's BCT?
EDIT: Since people don't seem to like the esolang wiki, I removed the link.
So I can't link to it.
Offline
Oh. Does it have a bad word in the name? If not, tell me.
And any other suggestions?
Offline
Firedrake969 wrote:
Oh. Does it have a bad word in the name? If not, tell me.
And any other suggestions?
'''Bitwise Cyclic Tag (BCT)''' is a [[Turing-complete]] programming language using only two commands (0 and 1) to operate on a finite data-bitstring extensible without bound on the right. ==BCT programs== A '''BCT program''' is any finite string of bits (commands), executed as follows: Command Execution ------- --------------------------------------------- 0 delete the leftmost data-bit 1 goto the next command (say x) if the leftmost data-bit is 1: copy x to the right end of the data-string If the program-string or the data-string is initially empty, execution halts immediately; otherwise, starting at the leftmost program-bit and halting only when the data-string becomes empty, the commands are executed in cyclic sequence from left to right (the leftmost bit following next after the rightmost bit). The program pointer advances one bit after each command-execution, and also advances one bit when the goto in a 1-command is executed; consequently, a 1-command always pairs with the next command after it (say x), such that 1x is effectively a composite command whose execution is if the leftmost data-bit is 1: copy x to the right end of the data-string Four equivalent variations of BCT are obtained by exchanging the roles of symbols 0 and 1 as commands, and by varying the parity required in the condition for copying a bit to the end of the data-string. ===Example=== Program: 00111 Execution sequence: 00111 (00111) (00111) (00111) ... = 0 (0 11 10) (0 11 10) (0 11 10) ... Initial data-string: 101 System evolution: Commands Data- Executed String -------- ------- 0 101 0 01 11 1 10 11 0 110 11 10 10 101 0 1010 11 010 10 010 0 010 11 10 ... ... ==BCT emulation of cyclic tag systems== For any [[cyclic tag system]] on a binary alphabet, there is a BCT program that emulates it (thus establishing that BCT is Turing-complete, since the set of cyclic tag systems is Turing-complete). Specifically, a BCT program that emulates a given cyclic tag system is obtained by writing the cyclic tag system productions as ';'-terminated strings, concatenating these strings, and then applying the following substitutions: 0 <-- 10 1 <-- 11 ; <-- 0 The initial data-string for the BCT program is the unaltered initial binary word for the cyclic tag system. ===The language '''CT'''=== BCT was created upon noticing that the operation of a cyclic tag system is exactly duplicated by interpreting the concatenation of its semicolon-terminated productions as a program that uses three commands {'''0''', '''1''', ''';'''} to operate on the current word (interpeted as a data bit-string). Calling this three-instruction language '''CT''', with programs that may be any finite string on {'''0''', '''1''', ''';'''}, the commands of a CT program are executed left-to-right in cyclic sequence, halting only when the data-string becomes empty: CT Command Execution Equivalent BCT Command ---------- --------------------------------------------- ---------------------- 0 if the leftmost data-bit is 1, append 0 10 1 if the leftmost data-bit is 1, append 1 11 ; delete the leftmost data-bit 0 The purpose of replacing CT by BCT was merely to obtain a language whose programs are binary (rather than ternary) strings. CT programs that might interest someone: *Program "1", data "1". Creates 'a pyramid of 1s'. *Program ";", data whatever. Removes all data and halts. *A sort of quines: Programs where the data remains forever identical to the initial program (and identical to data -- itself -- too). Any string consisting only of 0s and 1s, and which begins with a 0, suffices. Thus, for example: Program "0", data "0" (this is the shortest one possible). Program "0100111", data "0100111". ===Example (simple illustration)=== This is just to illustrate how things work ... Cyclic tag system Productions: (011, 10, 101) CT program: 011;10;101; Translation to a BCT program 011;10;101; --> 10 11 11 0 11 10 0 11 10 11 0 Initial data-string: 1 System evolution: Commands Executed Data-string -------- ------------- 10 1 11 10 11 101 0 1011 * 11 011 10 011 0 011 * 11 11 10 111 11 1110 0 11101 * 10 1101 11 11010 11 110101 0 1101011 * 11 101011 10 1010111 0 10101110 * 11 0101110 10 0101110 11 0101110 0 0101110 * 10 101110 ... ... The data-strings marked by '*' are those just after each deletion, and are the strings occurring in the evolution of the equivalent cyclic tag system, as follows: Production Data-string ---------- ------------- 011 1 10 011 101 11 011 1101 10 101011 101 0101110 011 101110 ... ... ===Example ([[Collatz sequence]])=== Here are B/CT programs that compute a [[Collatz sequence]] for the Collatz function in the form C(n) = (if n is even then n/2 else (3n+1)/2). Cyclic tag system: (010001, 100, 100100100, e, e, e) (where e is the empty word) CT program: 010001;100;100100100;;;; BCT program: 10 11 10 10 10 11 0 11 10 10 0 11 10 10 11 10 10 11 10 10 0 0 0 0 Initial data-string: (100)<sup>''n''</sup> (''n'' concatenated copies of '100', where ''n'' is a postive integer) In the computation, when (and only when) the data-string takes the form (100)<sup>''k''</sup> immediately before beginning a cycle through the program, it represents the integer ''k'' -- and these will be the successive terms of the Collatz sequence for ''n''. Here is a sample computation for ''n'' = 3, showing the data-strings at the beginning of each program-cycle: B/CT step# Collatz term B/CT data-string ----- ------------ ------------------------ 0000 3 100100100 0024 100010001 0048 001010001 0072 001100100100 0096 5 100100100100100 0120 100100100010001 0144 100010001010001 0168 001010001010001 0192 001010001100100100 0216 001100100100100100100 0240 8 100100100100100100100100 0264 100100100100100100010001 0288 100100100100010001010001 0312 100100010001010001010001 0336 010001010001010001010001 0360 010001010001010001100 0384 010001010001100100 0408 010001100100100 0432 4 100100100100 0456 100100010001 0480 010001010001 0504 010001100 0528 2 100100 0552 010001 0576 1 100 0600 001 0624 2 100100 0648 010001 0672 1 100 ... ... ... (The step-numbers are the multiples of 24, because there are 24 commands executed in each program-cycle.) ==Arithmetic interpretation of BCT== The BCT data-string can be interpreted as the unique numeral of a nonnegative integer written in [http://en.wikipedia.org/wiki/bijective_numeration bijective base-2 representation], as follows: BCT data-string Bijective base-2 numeral Integer represented --------------- ---------------------------- ------------------------- b<sub>0</sub> b<sub>1</sub> ... b<sub>k</sub> (b<sub>k</sub> + 1)(b<sub>k-1</sub> + 1)...(b<sub>0</sub> + 1) SUM{(b<sub>i</sub> + 1) 2<sup>i</sup>: i = 0..k} Note that the digits 1,2 are represented by the bits 0,1 respectively, and the numeral is read in ''reverse'' order from the bit-string. E.g., the BCT data-string 011 corresponds to the bijective base-2 numeral 221, representing the integer <u><b>2</b></u>*2<sup>2</sup> + <u><b>2</b></u>*2<sup>1</sup> + <u><b>1</b></u>*2<sup>0</sup> = 13. Each BCT command in a program then corresponds to an explicit numerical function defined on the set '''N''' of nonnegative integers, as follows: Command Equivalent numerical function (mapping '''N''' to '''N''') ------- ---------------------------------------------- 0 f(n) = floor<sup>+</sup>((n-1)/2) 10 g<sub>0</sub>(n) = n + (n mod 2) * 2<sup>(floor(log<sub>2</sub>(n+1)) + 0)</sup> 11 g<sub>1</sub>(n) = n + (n mod 2) * 2<sup>(floor(log<sub>2</sub>(n+1)) + 1)</sup> where we've shown separately the two cases for the program-bit that's next after the 1-command. Here floor<sup>+</sup> denotes the [http://en.wikipedia.org/wiki/Positive_and_negative_parts positive part] of the floor function — so the integer 0 is a fixed-point of all three of the functions f, g<sub>0</sub>, g<sub>1</sub>, and represents a permanent "halt" condition. (Also note that floor(log<sub>2</sub>(n+1)) is just the number of digits in the bijective base-2 numeral for n.) Thus a BCT program is equivalent to a composition of finitely-many instances of the three functions f, g<sub>0</sub>, g<sub>1</sub>, all but some initial portion of which is iterated. Just as the sequence of successive data-strings encodes all input and output in a BCT computation, in the arithmetic interpretation the same role is fulfilled by the sequence of successive nonnegative integer arguments. ===Gödel numbering=== A [http://en.wikipedia.org/wiki/G%C3%B6del_number Gödel numbering] of BCT programs is automatically provided by similarly interpreting each BCT program as the bijective base-2 numeral of an integer (now in the usual digit-order, unlike the data-string). Thus, <u>a BCT program is (the numeral of) its own Gödel number</u>. E.g., the program 011 is interpreted as the integer 10 (ten = 122 in bijective base-2) — and indeed 011 is the tenth nonempty BCT program in a [http://en.wikipedia.org/wiki/Shortlex_order shortlex ordering] of the set of all BCT programs. ===Example=== bit-string bij. base-2 decimal ---------- ----------- ------- Program: 110100 221211 115 Initial data: 10 12 4 Execution-trace: data (at beginning of each step) -------------------------------- step# cmd function bit-string bij. base-2 decimal function evaluation ----- ---- -------- ---------- ----------- ------- ------------------- 0001 11 * g<sub>1</sub> 10 12 4 0002 0 f 101 212 12 = g<sub>1</sub>(4) 0003 10 g<sub>0</sub> 01 21 5 = f(12) 0004 0 f 01 21 5 = g<sub>0</sub>(5) 0005 11 * g<sub>1</sub> 1 2 2 = f(5) 0006 0 f 11 22 6 = g<sub>1</sub>(2) 0007 10 g<sub>0</sub> 1 2 2 = f(6) 0008 0 f 10 12 4 = g<sub>0</sub>(2) 0009 11 * g<sub>1</sub> 0 1 1 = f(4) 0010 0 f 0 1 1 = g<sub>1</sub>(1) (halt) - - 0 = f(1) ----- deletion sequence: 10110 An asterisk marks the first command executed in each cycle through the program — the first function evaluated in each iteration. ==Computations in BCT== It can be shown that for any Turing machine computation, there is a BCT system (program plus data-string) that simulates it — halting if and only if the TM halts, and encoding the TM's input and output in the sequence of deleted data-bits. For further details, see the BCT source page (external link) below. ==Self BCT== Any string of bits L...R, when read in cyclic sequence (rightward from L, with L next after R), parses into a unique sequence of instructions from the set {0, 10, 11}. Thus, any such string can be interpreted as a self-modifying program whose instructions are executed in cyclic sequence as follows (with labels L/R revised appropriately when a bit is deleted/appended): Instruction Execution ----------- --------------------- 0 delete L 1x if L>0: append x to R Program execution halts if and when the program deletes itself. This is essentially BCT, but with the data-string identified with the program-string itself. Example (^ or ^^ indicating the current instruction as 0 or 1x): Step Program-string ----- ---------------------- 00000 1011110111 ^^ 00001 10111101110 ^^ 00002 101111011101 ^^ 00003 1011110111011 ^ 00004 011110111011 ^^ 00005 011110111011 ^^ 00006 011110111011 ^^ 00007 011110111011 ^ 00008 11110111011 ^^ 00009 111101110111 ^^ 00010 1111011101111 ^ 00011 111011101111 ^^ 00012 1110111011111 ^^ 00013 11101110111110 ^^ 00014 111011101111101 ^^ 00015 1110111011111011 ^^ 00016 11101110111110110 ^^ 00017 111011101111101101 ^ 00018 11011101111101101 ^ ^ 00019 110111011111011011 ^^ ... ... 43074 (empty) This language might well be a Turing tarpit, with the 43,074 steps for the program "1011110111" already showing some characteristically rapid growth in the associated uncomputable Rado S-sequence. Both BCT and Self BCT generalise to languages that use p instructions of the form 0 and pX, where p is a positive base-p digit and X is any base-p digit-string of length p. A program is then any base-p digit-string. ==Authorship== The languages CT and BCT were created by "[[r.e.s.]]" in December 2005. "Self BCT" was created by "r.e.s." in 2005-2006 (posted 2006 in a comp.theory usegroup message, [http://groups.google.com/group/comp.theory/browse_thread/thread/29b22b6fbd89179f/da69c701096e1c6d?hl=en&ie=UTF-8&q=BCT+%22cyclic+tag%22&fwc=1 "Variations on Cyclic Tag"]). ==External resources== * [http://www.73b.org/programs/bct.b Bitwise Cyclic Tag interpreter] written in [[*]] and [http://yiap.nfshost.com/esoteric/thue/bct.t interpreter] in [[Thue]] (by [[User:Keymaker]]) * [http://oerjan.nvg.org/esoteric/slashes/bct.sss Interpreter] in [[Slashes|///]] and [http://oerjan.nvg.org/esoteric/eodermdrome/bct.eode interpreter] in [[Eodermdrome]] (by [[User:Oerjan]]) * [http://esoteric.voxelperfect.net/files/sortle/src/bct.sort Interpreter] in [[Sortle]] (by [[User:Graue]]) * [[wikipedia:Tag system#Cyclic tag systems|Cyclic tag systems]] (Wikipedia) [[Category:Languages]] [[Category:Turing tarpits]] [[Category:2005]] [[Category:No IO]]
Offline
Firedrake969 wrote:
Any OTHER suggestions?
Cellular automata simulator.
Turing machine simulator.
Tag system simulator.
GoL simulator.
Offline
Firedrake969 wrote:
Firedrake969 wrote:
Any OTHER suggestions?
Brian's brain simulator.
You do realize that every time you ask that, I'm going to give you another cellular automaton/CA related thing?
Offline
Molybdenum wrote:
Firedrake969 wrote:
Firedrake969 wrote:
Any OTHER suggestions?
Brian's brain simulator.
You do realize that every time you ask that, I'm going to give you another cellular automaton/CA related thing?
Any OTHER OTHER OTHER OTHER NON-CELLULARAUOMATONTHINGY related ideas?
Offline
Firedrake969 wrote:
Molybdenum wrote:
Firedrake969 wrote:
Brian's brain simulator.
You do realize that every time you ask that, I'm going to give you another cellular automaton/CA related thing?Any OTHER OTHER OTHER OTHER NON-CELLULARAUOMATONTHINGY related ideas?
Ok.
Collaz function/sequence calculator.
Offline
Firedrake969 wrote:
anything else?
ROT13.
Offline
Firedrake969 wrote:
One that I can actually program.
You do realize how easy my suggestions were, right?
Offline