Category talk:Plain English: Difference between revisions

→‎EBNF: Thanks
(→‎EBNF: Thanks)
 
(11 intermediate revisions by 4 users not shown)
Line 55:
::: Regarding that particular task, I think it would be quite helpful if the Plain English implementation demonstrated how to save the user input into variables, like other implementations do. --[[User:Dick de Bill|Dick de Bill]] ([[User talk:Dick de Bill|talk]])
 
:::: Oh, but is has. Any time you see <code>a/an/some whatever</code> inside a routine body in Plain English, that is introducing a new variable into the routine's scope. To refer to <code>a string</code> and <code>a number</code> you would say <code>the string</code> and <code>the number</code>. (When you see <code>a/an/some whatever</code> in a routine header, that is a parameter.) --[[User:Chunes|Chunes]] ([[User talk:Chunes|talk]]) 09:23, 22 September 2020 (UTC)
 
::::: However, I see how it can be confusing, so I have updated the task to show how to refer to the values read from the console. --[[User:Chunes|Chunes]] ([[User talk:Chunes|talk]]) 09:43, 22 September 2020 (UTC)
 
:: The above workflow should be in [[Hello_world/Newbie]]! (but of course "beautified") Hmm... I guess I'll try to write the initial write-up. --[[User:Simple9371|Simple9371]] ([[User talk:Simple9371|talk]]) 08:25, 28 November 2020 (UTC)
 
::: Thanks for volunteering to work on that. Here's a little improvement to the flow that I have since learned. The IDE is kind enough to copy the noodle to the current directory when you press ctrl+v in the file navigator (while maintaining the existing contents of your clipboard elsewhere). So all you have to do is press ctrl+v wherever your source file is to put a copy of the noodle there. --[[User:Chunes|Chunes]] ([[User talk:Chunes|talk]]) 09:48, 28 November 2020 (UTC)
 
== EBNF ==
 
Does anyone know of a program that will read [http://www.osmosian.com/ebnf this file] and generate a graphic version of the Plain English language's EBNF?
<br />--[[User:GarveyPatrickD|GarveyPatrickD]] ([[User talk:GarveyPatrickD|talk]]) 22:15, 10 June 2021 (UTC)
 
: You mean something like [https://i.stack.imgur.com/WpQXF.gif this]? Making such diagrams from EBNF sounds like an interesting new task for RC :) --[[User:Dick de Bill|Dick de Bill]] ([[User talk:Dick de Bill|talk]]) 02:56, 5 March 2022 (UTC)
 
:: Yes, that is the type of diagram I am looking for. Do you have any suggestions other than writing a task description? --[[User:GarveyPatrickD|GarveyPatrickD]] ([[User talk:GarveyPatrickD|talk]]) 03:56, 5 March 2022 (UTC)
 
::: None besides using your favorite search engine (if you haven't already). I have no idea if such a thing exists but I imagine hacking something together using some graph library shouldn't be difficult (make a graph, export to `.dot` file and convert to PDF). --[[User:Dick de Bill|Dick de Bill]] ([[User talk:Dick de Bill|talk]]) 08:27, 5 March 2022 (UTC)
 
:::: Thank you. --[[User:GarveyPatrickD|GarveyPatrickD]] ([[User talk:GarveyPatrickD|talk]]) 18:34, 5 March 2022 (UTC)
1,606

edits