ENET 101 · SYLLABUS
ENET Foundations
Meet the language, write your first statements and work with values.
Learning outcomes
- Print text and values
- Explain comments and the shared-tool declaration
- Declare and update named values
Module schedule
MODULE 1 · Study → Live lab → Practice
Your first ENET program
ENET by JTWAYNE is a free programming-language prototype. Its current interpreter runs small console programs. Write one statement per line; say sends a value to program output.
Assignment: Change the greeting to introduce yourself, then run again.
MODULE 2 · Study → Live lab → Practice
Comments & the JTWAYNE CODE
A line starting with // is a comment. use jtwayne.code is the reserved declaration for ENET’s shared tools; in 0.1 it is accepted but does not load an external module. The built-in tools are already available.
Assignment: Add a comment explaining who your program is for.
MODULE 3 · Study → Live lab → Practice
Names, text & numbers
let declares a named value. Text belongs inside quotes; numbers do not. Names are case-sensitive, begin with a letter or underscore, and cannot reuse a built-in function name.
Assignment: Add a new variable for the name of your application.
MODULE 4 · Study → Live lab → Practice
Update a value
set changes a value declared with let. ENET does not use += or ++. Write the complete new expression instead.
Assignment: Change the starting build number and observe the result.
Final project: A personal introduction program
Build a personal introduction that names a developer, labels their application and advances its build number.
- Declare creator, application and build values
- Increment build with set
- Print three labeled lines matching the sample
Review correctness against the sample output, readability, comments and the documented limits of your prototype. Extend and test additional inputs after completing the sample.