Act 382. From beginner to proficient

"L language?"

Hathaway tilted her head, and she took the crudely bound book and turned the first page.

"The L language is a tool designed to translate requirements into instructions in a natural and logical way, with the following characteristics......

After reading the introduction for a while, Hathaway slightly understood what this so-called L language was.

This is a language based on a lingua franca, with a specific form of writing, and the sentences written in this language are called code, and the code is something like a spell that can be read by the library query system, which is called an application in this book, and the method of building this application is called programming.

This book mainly describes the basic introductory methods and advanced applications of programming.

After only turning a few pages and seeing a few simple examples, Hathaway was fascinated by the world in it.

This feeling is like those legendary legendary mages who can turn words into reality and thoughts into laws, as if in the world of programming, they are omnipotent.

Seeing Hathaway's thoughtful and realised expression from time to time, Reiner smiled, which showed that at least the student could understand the content of the book.

The L language was born out of the C language on Earth, of course, Reiner was built on the basis of the magic of this world, at most only drawing some inspiration from it, and as for the algorithm part, it was rewritten with Soul's spell model.

Even so, it is not easy for ordinary mages to quickly understand the content of this, and the girl in front of her is obviously a first-year freshman, who has only been exposed to magic for less than half a year, and she did not expect to be able to initially accept the theory of programming, which really surprised Reiner.

But Reiner thought about it, maybe it was this kind of person who was new to magic, who was curious and not bound by traditional ideas, who could quickly understand what it was about.

Given Hathaway's task, Reiner returned to debugging the prototype, fluently writing a series of code in the compiler and successfully running a simple number-guessing program.

"It seems that there is nothing wrong with the basic functionality of the prototype, Sur, you have done a good job."

Reiner smiled, causing Sur beside him to show a smug expression.

"This is my hard work this week, quality assurance!"

She straightened her bosom and said proudly.

"Uh, Mr. Headmaster, can you let me try this machine?"

At this time, Hathaway on the side weakly stretched out her hand and asked.

"This is a valuable prototype, and you can't play with it, Hathaway."

Saul subconsciously refused, fearing that Hathaway might create some unexpected problems and glitches, so she refused.

"Trial? What are you trying to do? ā€

Reiner didn't immediately refuse, a little curious about what the student would want to do with the prototype.

"I'd like to try the book's, uh, programming."

Hathaway pointed to a short program in the book, saying that after reading and trying to understand the thing called programming, she became interested in it and couldn't wait to try it.

It felt like she was first exposed to magic, but compared to the mysterious and eerie spells, Hathaway was able to write her own programs as instructed in the books, rather than rote spells and spell models.

Hearing Hathaway's words, Reiner smiled slightly, took a step back, and gave up the position in front of the prototype.

"You try."

He was a little curious to see how Hathaway, who had never been exposed to programming, could go.

Reiner's words surprised Hathaway, she originally just asked tentatively, and after Mr. Suer's words came out, she already wanted to retreat, but she didn't expect Reiner to mind, and let her try it herself.

Feeling her heart start beating faster, Hathaway held back a nervous tremor and reached out to try to touch the keyboard in a skillful gesture.

Well, it's okay, I've practiced it several times and absolutely no problem!

She cheered herself up.

But when Hathaway stood in front of the prototype and looked at the keyboard, she began to really panic.

"Uh, this should be here, hey, where is this key, ah, found ......"

It took Hathaway a while to type all the code and confirm it under the watchful eyes of Reiner and Soul, before pressing the compile button.

This function is the core function of the compiler, which can convert the L language similar to the lingua franca into a machine language that can be directly recognized by the magic circle in the prototype, and if the compilation is successful, the code can be encapsulated into a program, of course, a preview will be given in advance to confirm the function of the program.

However, when Hathaway pressed the compile button, there was no prompt that the compilation was complete, as shown in the book.

"Huh? What's going on? ā€

Hathaway panicked, her eyes swept over the code, but she didn't understand what she had done wrong.

She was worried that her reckless actions had caused an unpredictable mistake in the prototype, and the nervousness she had suppressed suddenly exploded, and Hathaway, who was at a loss, felt her eyes red, and she looked at Reiner and Sur beside her.

"Mr. Principal, I—I don't know ......"

Hathaway's voice was full of tears, like an abandoned child.

"It's okay, Hathaway."

Reiner gently touched her head, calming Hathaway a little, feeling like her own father, and she sniffed as Reiner leaned over to the prototype to look at the code.

Hathaway looked at Sur again, and the math and physics teacher shook her head helplessly, not knowing whether she was lamenting Hathaway's mistake or Reiner's kindness.

Reiner quickly found the mistake and stopped Hathaway and pointed to one of the places.

"Due to the large number of parentheses here, it's best to check it carefully, you see, this is missing a half-parentheses, which leads to problems with the program, and the compilation error at the bottom is also reflected."

Following Reiner's direction, Hathaway immediately saw where her problem was.

"I ...... I'm sorry, but I was so stupid. ā€

Hathaway had never felt so ashamed, she stiffened the code and clicked the compile button again.

This time, the code was successfully compiled and soon the test window appeared.

Hathaway followed the requirements of the code, typed a string of text, and pressed enter.

On the pitch-black screen, another line of text immediately appeared.

It was a phrase in the lingua franca, short, but full of anticipation, and Hathaway was deeply moved.

- Hello, world!

https:

Genius one second to remember the address of this site:. Mobile version reading URL: m.