Forge and Nova

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Apparently I own this thread now...Is NOVA a good thing?


  • Total voters
    80
  • Poll closed .
Let's make a Turing machine for this, shall we?

tape alphabet = {"Vazkii", "Reika", "Asie", " "}
blank symbol = " "
states = {AV, AR, AA, Halt}
final states = {Halt}
initial state = AV

transition function:
(AV, " ") -> ("Vazkii", right, AR)
(AR, " ") -> ("Reika", right, AA)
(AA, " ") -> ("Asie", right, Halt)
This will write the three names onto the tape and then halt.
 
Last edited:
Let's make a Turing machine for this, shall we?

tape alphabet = {"Vazkii", "Reika", "Asie", " "}
blank symbol = " "
states = {AV, AR, AA, Back}
final states = {Halt}
initial state = AV

transition function:
(AV, " ") -> ("Vazkii", right, AR)
(AR, " ") -> ("Reika", right, AA)
(AA, " ") -> ("Asie", right, Halt)
This will write the three names onto the tape and then halt.
(println "Should've wrote it in Brain**** which is an actual Turing machine")
 
Code:
echo This is better than the languages StrikingWolf likes
echo Nominated chair(wo)men:
echo Vazkii
echo Reika
echo Asie
echo CoolSquid
(println "WHAT ARE YOU DOING...WHY ARE YOU DOING THIS....WHYYYYYYYYYYYY!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")
 
(println "C++ is a dirty dirty language, but Clojure is nice ;)")
Code:
(defn counting-numbers [] (iterate inc 1))
(take 5 (filter even? (counting-numbers)))
(println "That returns the first 5 even counting numbers (2, 4, 6, 8, 10). Lazy evaluation is awesome")
Code:
main = do
       print . take 5 . map (*2) $ [1..]
       putStrLn "Awesome it certainly is. Haskell is also nice (but LISP is cool, too, although it has lots more parentheses)."
Also, I feel like this thread is getting a little off-topic...
 
  • Like
Reactions: 1SDAN and Padfoote
Ewwwwwwww, functional programming. Haskell and its ilk are of the devil. Convert to OO or die.
(println "OO and FP are actually two sides of the same coin. In OO data is prioritized over code whereas in FP code is prioritized over data. (In LISP code is data, this makes it a good blend of OO and FP)")
 
(println "OO and FP are actually two sides of the same coin. In OO data is prioritized over code whereas in FP code is prioritized over data. (In LISP code is data, this makes it a good blend of OO and FP")
You missed a close-parenthesis.

I know Lisp is, like, the AI language and all, but all those irritating, superfluous parentheses kill it for me. That, and I was raised with OO, I will fight for OO, and I will die by OO.

(RavynousHunter, capable of seeing a missing parenthesis over twenty kilometers away!)
 
  • Like
Reactions: 1SDAN
All of this is going completely over my head. -_-

I really need to research these kinds of things more.
 
You missed a close-parenthesis.

I know Lisp is, like, the AI language and all, but all those irritating, superfluous parentheses kill it for me. That, and I was raised with OO, I will fight for OO, and I will die by OO.

(RavynousHunter, capable of seeing a missing parenthesis over twenty kilometers away!)
(println "The parentheses aren't superfluous they make the whole language operate the same way (function arg1...argn). Also, I was raised with OO to, but a mix of OO and FP is best")
 
There is this thread then there is me

46FynM1.jpg


----------------------------------------------------
Sent From Something That You Won't Care About Using Tapatalk 2