Talk:SPAM/1

From Esolang
Jump to navigation Jump to search

Protocol or Language?

This seems more like a transfer protocol than a language. Is it? Nathanator1416j (talk) 17:30, 5 February 2014 (UTC)

  • Short answer: It's both. The idea of SPAM/1 is to use a device similar to a Telegraph key as the input device instead of a computer. In order to do any programming, you would need to have some sort of transfer protocol to go along with it. I'm still working on the library for the programming part. --Johnnie (talk) 19:29, 5 February 2014 (UTC)
  • I see. Good luck! Nathanator1416j (talk) 00:30, 6 February 2014 (UTC)
    • Thanks, no problem! I'm going to need some help in strengthening this as a language. If you can, will you (and the rest of the eso gang) be kind enough in offering me the occasional kick in the pants now and then? --Johnnie (talk) 15:00, 6 February 2014 (UTC)
      • Of course :) First of all, almost all of the commands a person can use should be able to be done in the program. Other than that, looks good!
      • I'm using Dartmouth-BASIC as a model for the bulk of the current commands. Tis a start. --Johnnie (talk) 19:04, 6 February 2014 (UTC)
      • Nice. A good start indeed! If that runs short of good commands, you can try Liberty BASIC commands. Nathanator1416j (talk) 23:08, 6 February 2014 (UTC)

Morse Code and ARCs

I am torn because I like the Amateur Radio Codes (ARCs), but I need to emphasize the fact that SPAM/1 and SPAM/2 are Morse code languages. So I'm forcing myself to come up with the following rule for this page: when defining the language or simple examples, use ARCs. When defining blocks of code for SPAM/1 and SPAM/2, use Morse Code. I will have to re-write parts of Hello World! to fall in line with this rule. Johnnie (talk) 16:15, 6 February 2014 (UTC)

Difference between SPAM/1 and SPAM/2

This is a note more to myself: SPAM/1 is very faithful to ARCs and doesn't stray far away from that vocabulary. SPAM/2 is an enhanced language set. For example, in SPAM/2 there is a SING command, which follows the syntax:

SING [frequency],[duration],[volume]

Because of the physical restrictions, regardless of the capability of the SPAM Generator, SPAM can only generate one-channel voice.--Johnnie (talk) 17:07, 6 February 2014 (UTC)

Inside joke

The name of SPAM/1 is something of a multi-layered joke:

  • Spam being a derivative of ham
  • The Monty Python connection, vis-a-vis the Spam sketch:
    • SPAM/1 - "I'll have your spam, I love it!"
    • SPAM/2 - "Spam, Eggs, Sausage and spam"
    • SPAM/3 - "I DON'T LIKE SPAM!"
  • The negative connotation (IE: expunging one's spam mail folder)

--Johnnie (talk) 14:29, 7 February 2014 (UTC)

Morse code operator list

These are list of the morse decoding of the operator, which are different from shown in the table. Therefore it can be use with programs with ASCII to automatically convert with morse codes in both ways, too.

N 	-. 	Negation (unary op.)
= 	-...- 	Equal To
+ 	.-.-. 	Addition
N= 	-. -...- 	Not Equal To
-	-....- 	Subtraction (binary op.)
LT 	.-.. - 	Less Than
& 	.-... 	Multiplication
LT= 	.-.. - -...- 	Less Than or Equal To
/ 	-..-. 	Division
GT 	--. - 	Greater Than
PWR	.--. .-- .-. 	Exponentiation
GT= 	--. - -...- 	Greater Than or Equal To
( ) 	-.--. -.--.- 	Grouping 

--Zzo38 (talk) 21:03, 3 October 2016 (UTC)