Eve Feature Tests

The feature tests of Eve (the conformity tests), by level. Every test is a script (or a project folder) with its expected output in a comment block at the end: a driver passes when the machine prints exactly that and ends with the expected exit code. Each row shows what the test checks, taken from the first comment line of the file, and a link to the file in the code viewer. The tests are the specification that an implementation must pass: python script/runtest.py all runs them, and Smoke and Performance have their own pages.

Level 1: Scripts

The language of a single script, 97 tests. The folder on GitHub.

CodeTestWhat it checksSource
a01a01_driverTest primary aspect structure and single line commentsa01_driver.eve
a02a02_commentsEvery comment form of the language, then a negative enda02_comments.eve
a03a03_printprint writes a string and a new line; no import is neededa03_print.eve
a04a04_shebang_errora file has no #! line: Eve has no free scripts, every program is an aspecta04_shebang_error.eve
a05a05_print_writeprint adds a new line and separates its arguments with sep, write adds nothing; a list is one argumenta05_print_write.eve
a06a06_new_set_letnew creates variables, set creates constants, let changes a valuea06_new_set_let.eve
a07a07_arithmeticnumeric operators and their precedencea07_arithmetic.eve
a08a08_logicrelation and logical operators, conditional statement and expressiona08_logic.eve
a09a09_literalsliterals of the primitive typesa09_literals.eve
a100a100_script_param_missinga parameter of process main without a default and without a value is a usage error: exit 64, the help is printeda100_script_param_missing.eve
a101a101_scopeswhere a name lives: the aspect (hoisted, shared with its functions), a process, a loop (one scope for the header and all the cycles), an if (no scope)a101_scopes.eve
a102a102_scope_hidden_locala function does not see the variables of a process, and the variable of a loop is gone after done: both are compile errorsa102_scope_hidden_local.eve
a103a103_scope_loop_variablethe control variable of a for loop and the variables of its body are gone after done: using them is a compile errora103_scope_loop_variable.eve
a104a104_scope_loop_redeclarea loop has one scope for the header and all its cycles: a new written in the body is run again at the second cycle and fails, a name used by all cycles is declared before the loopa104_scope_loop_redeclare.eve
a105a105_scope_shadow_in_loopa name that exists outside a loop is shadowed by a new in the body at the first cycle; the second cycle fails because the loop scope already has the namea105_scope_shadow_in_loop.eve
a106a106_list_functionslist functions: sort, reverse, sum, min, max, contains, index_of, unique, take, drop, zip, map, filter, reduce, any, all (lists.md)a106_list_functions.eve
a107a107_list_errorslist functions with a wrong argument or a wrong element are the error $err_argument (17); each case is caught by a function with a recover regiona107_list_errors.eve
a108a108_map_functionsmap functions: merge and invert give a new map and never change the receiver (maps.md)a108_map_functions.eve
a109a109_string_morestring functions of the core library: reverse, repeat, pad_start, pad_end, lines, upper and lower beyond ASCII (strings.md)a109_string_more.eve
a10a10_stringsstrings are immutable UTF-8 texta10_strings.eve
a110a110_math_basicmath library: basic, explog, numtheory, and the one module math (math.md)a110_math_basic.eve
a111a111_math_trigmath library: trigonometry (math.md)a111_math_trig.eve
a112a112_math_constantsmath library: constants exported with set (math.md)a112_math_constants.eve
a113a113_math_linearmath library: vectors and matrices (math.md)a113_math_linear.eve
a114a114_math_randommath library: random generator, seeded and not seeded (math.md)a114_math_random.eve
a115a115_math_random_unseededmath library: an unseeded generator gives values of known type, written as {Type} in the expected output (math.md)a115_math_random_unseeded.eve
a116a116_eve_dir_aspthe variables $EVE_DIR (the folder of the Eve runtime) and $EVE_ASP (the aspect folder, "asp" by default) are read-only Stringsa116_eve_dir_asp.eve
a11a11_interpolationplaceholders {name} and {name % format}: a name, a literal or a simple expression, written by its type; \{ \} are literal braces; {U+H} Unicode (formats are a draft)a11_interpolation.eve
a12a12_ifif, else if, else and the conditional statementa12_if.eve
a13a13_whilewhile loop with a header, break and else; then was removed, the code goes after done;a13_while.eve
a14a14_forfor loop over ranges and collectionsa14_for.eve
a15a15_matchmatch with values, lists of values, ranges, other, one and alla15_match.eve
a16a16_ordinalan Ordinal is a set of named integer values; the first value is 1 unless one is givena16_ordinal.eve
a17a17_listlist: literal, index, append, remove, capture, delete, builder, deconstructa17_list.eve
a18a18_arrayarray: literal, index, slice, view and clone, bulk assignment, buildera18_array.eve
a19a19_matrixmatrix: two indexes, last index, absolute index, [*] selects a dimensiona19_matrix.eve
a20a20_datasetDataSet: sorted unique values, union, intersection, differencea20_dataset.eve
a21a21_datamapDataMap: a sorted map of key:value pairs; quoted or numeric keysa21_datamap.eve
a22a22_objectObject: unquoted keys make an object, quoted or numeric keys make a DataMapa22_object.eve
a23a23_clone_view:= shares a collection or an object,:: makes a deep copy, native values are always copieda23_clone_view.eve
a27a27_text_literala text literal is raw and keeps the line breaks; the indentation of the closing quotes is removeda27_text_literal.eve
a28a28_regexregular expressions: =~ matches, not (...) negates; a string that starts with / is a regex literal and keeps its backslashesa28_regex.eve
a29a29_expect_faila failed expect ends the process with exit code 2a29_expect_fail.eve
a30a30_overover ends the process it is in with exit code 0a30_over.eve
a31a31_recoveran error jumps to recover; reaching the end of recover handles the errora31_recover.eve
a32a32_finalizefinalize runs after the process ends normally, and after recovera32_finalize.eve
a33a33_over_finalizeover skips recover but runs finalize: a clean exit never skips cleanupa33_over_finalize.eve
a34a34_jobsjobs: retry runs a failed job again, resume goes on after ita34_jobs.eve
a35a35_index_errorindex 0 is an error: indexes start at 1a35_index_error.eve
a36a36_map_key_error+= on a missing key of a map raises an errora36_map_key_error.eve
a37a37_division_errora division by zero raises an error, also for Real: no infinity, no NaNa37_division_error.eve
a38a38_matrix_indexmatrix and tensor indexes: [x, y] is the same as [x][y]; a range selects a parta38_matrix_index.eve
a39a39_repeatloop tested at the end: loop … do … repeat [while c]; and skipa39_repeat.eve
a43a43_let_creates_namelet changes names and creates the ones that are missing, by type inferencea43_let_creates_name.eve
a44a44_bare_assignmenta change without let is a syntax errora44_bare_assignment.eve
a45a45_redeclareredeclaring a name in the same scope is an errora45_redeclare.eve
a46a46_light_assignment= is the light assignment of a declaration; it never changes a variablea46_light_assignment.eve
a47a47_string_plus_number+ between a string and a number is a type error; <+ converts the numbera47_string_plus_number.eve
a48a48_single_quote_texta rune holds one code point; 'one' is a lexical errora48_single_quote_text.eve
a49a49_stop_in_jobstop ends a job without error; the process goes on with the next statementa49_stop_in_job.eve
a50a50_exitexit ends the process without error and runs finalizea50_exit.eve
a51a51_unhandled_erroran error without recover ends the process with the exit code 4, after finalizea51_unhandled_error.eve
a52a52_asserta failed assert is an error with code 3: the process stops when it is not recovereda52_assert.eve
a53a53_abortabort in recover ends the process, runs finalize and passes the error ona53_abort.eve
a54a54_panicpanic ends the whole application at once with code 1, without finalizea54_panic.eve
a57a57_conversionexplicit conversions do what the developer asked: floor, ceiling, round, parse (from demo/explicit_coercion.eve and demo/string_to_number.eve)a57_conversion.eve
a58a58_rune_rangea range of runes: ('a'..'c') visits the code points in order (from demo/symbol_range.eve)a58_rune_range.eve
a59a59_optional_nulla variable without a value has the zero value of its type, never null; an optional type T? may hold null (from demo/null_strings.eve)a59_optional_null.eve
a60a60_process_argsthe process receives the command-line arguments; a vararg collects them (from demo/method_call.eve and demo/test_args.eve)a60_process_args.eve
a62a62_multi_linea statement ends with; so an expression or a literal may span several lines (from demo/multi_line.eve)a62_multi_line.eve
a63a63_range_domaina range is a domain of values: limits included or excluded, open ends, a step that sets the precision (from demo/domain_demo.eve and demo/numeric_range.eve)a63_range_domain.eve
a66a66_bad_placeholderin a string every unescaped brace opens a placeholder {name}; a literal brace is \{ or \}a66_bad_placeholder.eve
a68a68_undefined_namean undefined name is a compile error: the script does not starta68_undefined_name.eve
a75a75_raise_coderaise "text" creates an error with code 4 and that messagea75_raise_code.eve
a76a76_overflowinteger overflow is an error with its own code, 13a76_overflow.eve
a77a77_system_variablea primary aspect can set a system variable and define its own $namea77_system_variable.eve
a78a78_digit_separatorthe digit separator _ is not accepted in a number: a lexical errora78_digit_separator.eve
a80a80_let_capture_loopin a loop a capture creates its name once: the next turns assign it, they do not create it againa80_let_capture_loop.eve
a81a81_let_undeclaredlet creates a missing name only in a capture: let y:= 5 with no y is an errora81_let_undeclared.eve
a82a82_list_endslist modifiers: <+ appends at the end, +> puts in front; the list stays after +> and before <+a82_list_ends.eve
a83a83_bulk_scalarcollection op scalar: the operator applies to every elementa83_bulk_scalar.eve
a84a84_bulk_string_errora bulk operation never builds strings: a string element or scalar is an errora84_bulk_string_error.eve
a85a85_then_removedthen no longer exists in match and loops: the code goes after done; (negative test)a85_then_removed.eve
a86a86_string_slicea string takes a range as index: s[a..b] is the substring of runes a to b, a copy (expressions.md)a86_string_slice.eve
a87a87_string_functionsstring functions: trim, upper, lower, starts_with, ends_with, contains, find, replace (strings.md, G-7)a87_string_functions.eve
a88a88_datamap_methodsDataMap methods: has, get, keys, values, delete (G-5)a88_datamap_methods.eve
a89a89_exit_codeover <code>; ends the process with the exit code, finalize still runs (G-2)a89_exit_code.eve
a90a90_exit_code_rangean exit code from 1 to 5 belongs to the machine: a run-time error with code 4 (G-2)a90_exit_code_range.eve
a91a91_method_as_namemethod is a contextual word: a keyword where a declaration is expected, a name everywhere else (G-6)a91_method_as_name.eve
a92a92_loops_and_callsloops, calls and assignments that every engine must treat alike: break, skip, for with else, short circuit on a variable, compound assignment on a list, recursiona92_loops_and_calls.eve
a93a93_os_pwd$OS_PWD is the working folder of the program, read-only (CMD-05)a93_os_pwd.eve
a94a94_env_variable$NAME is an operating system environment variable, a Stringa94_env_variable.eve
a95a95_error_warningerror(text) and warning(text) write a line on the standard error and go ona95_error_warning.eve
a96a96_read_lineread(prompt) reads a line from the standard input and gives it as a String; at the end of the input it gives nulla96_read_line.eve
a97a97_eve_variablesthe project variables $EVE_HOME, $EVE_LIB, $EVE_LIB_PATH, $EVE_CORE_DB and $EVE_OUT are Strings with the defaults of the tablea97_eve_variables.eve
a98a98_script_paramsthe arguments after the script and -p name=value become the parameters of process main, converted to their typesa98_script_params.eve
a99a99_script_helpeve script.eve -h prints the help made from the ** @param comments and the parameters of process main; the script does not runa99_script_help.eve

Level 2: Subprograms

A project: subprograms and aspects, 81 tests. The folder on GitHub.

CodeTestWhat it checksSource
b01b01_apply_aspectapply runs the main process of an aspect from asp/ and waitsb01_apply_aspect.eve
b01b01_test1 (variation)variation 1 of b01: the same aspect, called in a loop with a computed argumentb01_test1.eve
b02b02_apply_outputan aspect gives results back through @ output parametersb02_apply_output.eve
b02b02_test1 (variation)variation 1 of b02: results used as inputs, in a loopb02_test1.eve
b03b03_apply_stateeach apply creates a new state of the aspect: a second call sees nothing of the firstb03_apply_state.eve
b03b03_test1 (variation)variation 1 of b03: three applies, three fresh statesb03_test1.eve
b04b04_apply_named_argsapply with arguments by position, by name and with a default valueb04_apply_named_args.eve
b04b04_test1 (variation)variation 1 of b04: every argument by name, in another orderb04_test1.eve
b05b05_apply_spreadspreading a list into positional arguments and a map into named arguments ( i)b05_apply_spread.eve
b05b05_test1 (variation)variation 1 of b05: spread of a whole list and of a whole mapb05_test1.eve
b06b06_aspect_erroran error not recovered in the aspect is raised in the primary aspect at the apply lineb06_aspect_error.eve
b06b06_test1 (variation)variation 1 of b06: the error code of the aspect is the code of the raiseb06_test1.eve
b07b07_aspect_overover in an aspect ends the aspect; the primary aspect goes on after applyb07_aspect_over.eve
b07b07_test1 (variation)variation 1 of b07: over in the aspect twice: the primary aspect goes on each timeb07_test1.eve
b08b08_aspect_panicpanic in an aspect ends the whole application with exit code 1b08_aspect_panic.eve
b08b08_test1 (variation)variation 1 of b08: panic ends the application: the finalize of the primary aspect does not runb08_test1.eve
b09b09_log_fileslog_err and log_wrn write log files in the output folder out/b09_log_files.eve
b10b10_aspect_functiona function declared in an aspect is used by its mainb10_aspect_function.eve
b10b10_test1 (variation)variation 1 of b10: the function of the aspect with its default and by nameb10_test1.eve
b11b11_aspect_procedurea procedure of an aspect changes an aspect-level variable; the primary aspect's own variable is not touchedb11_aspect_procedure.eve
b11b11_test1 (variation)variation 1 of b11: the state of the aspect is new in every callb11_test1.eve
b12b12_aspect_fresh_statemain and the procedures of an aspect share its variables, and every apply starts them againb12_aspect_fresh_state.eve
b12b12_test1 (variation)variation 1 of b12: the list of the aspect is new in every call, in a loopb12_test1.eve
b13b13_aspect_missingapply of an aspect that has no file is an error before the runb13_aspect_missing.eve
b14b14_aspect_too_many_argsmore positional arguments than parameters is a check-time errorb14_aspect_too_many_args.eve
b14b14_test1 (variation)variation 1 of b14: the right call: two arguments, then oneb14_test1.eve
b15b15_aspect_apply_aspectan aspect may apply another aspect, by its name (it was a compile error with)b15_aspect_apply_aspect.eve
b16b16_aspect_recoveran aspect recovers its own error: the primary aspect never sees itb16_aspect_recover.eve
b16b16_test1 (variation)variation 1 of b16: the aspect recovers its own error, twiceb16_test1.eve
b17b17_aspect_tracean error nobody recovers: the error first, then the frames in order of callb17_aspect_trace.eve
b18b18_lambdaa lambda is an anonymous function: held by a name, passed as an argument, held by a function typeb18_lambda.eve
b19b19_closurea closure keeps the state of the function that made it; every apply makes new closuresb19_closure.eve
b20b20_aspect_unknown_paraman argument named like no parameter is a check-time errorb20_aspect_unknown_param.eve
b20b20_test1 (variation)variation 1 of b20: the right name of the optional parameterb20_test1.eve
b21b21_aspect_missing_arga missing mandatory argument is a check-time errorb21_aspect_missing_arg.eve
b21b21_test1 (variation)variation 1 of b21: the mandatory argument by nameb21_test1.eve
b22b22_aspect_wrong_typean argument of the wrong type is a check-time errorb22_aspect_wrong_type.eve
b23b23_aspect_default_exclusivean aspect without a kind word is exclusiveb23_aspect_default_exclusive.eve
b24b24_aspect_second_processan aspect may have a second process: a private one, called by its own main (it was an error with)b24_aspect_second_process.eve
b25b25_aspect_driver_variablean aspect can't read a variable of the primary aspectb25_aspect_driver_variable.eve
b26b26_aspect_finalizefinalize of an aspect runs when main ends, also by over; then the primary aspect goes onb26_aspect_finalize.eve
b26b26_test1 (variation)variation 1 of b26: finalize in a loop, by return and by overb26_test1.eve
b27b27_aspect_concurrenta concurrent aspect can also be applied, one call after the otherb27_aspect_concurrent.eve
b27b27_test1 (variation)variation 1 of b27: a concurrent aspect applied with other textsb27_test1.eve
b28b28_aspect_folderapply with a folder: the aspect is searched there first, then in asp/ and in the rootb28_aspect_folder.eve
b28b28_test1 (variation)variation 1 of b28: only the aspect of the default folderb28_test1.eve
b29b29_aspect_output_namedan @ output parameter that follows optional parameters is named at the callb29_aspect_output_named.eve
b29b29_test1 (variation)variation 1 of b29: the default exponent, then both by nameb29_test1.eve
b30b30_functionfunctions: result, named arguments, default values, several resultsb30_function.eve
b31b31_procedureprocedures: no result, side effects, @ passes by reference, no @ passes a copyb31_procedure.eve
b32b32_recursiona function can call itself: Fibonacci (from demo/fibonacci.eve)b32_recursion.eve
b33b33_function_without_resulta function must have a result: a subprogram without result is declared with procedureb33_function_without_result.eve
b34b34_procedure_banga procedure is made for side effects and is never deterministic: it never ends with !b34_procedure_bang.eve
b35b35_exit_procedureexit in a procedure leaves only the procedure; the process goes onb35_exit_procedure.eve
b36b36_over_procedureover in a procedure ends the whole process, not only the procedureb36_over_procedure.eve
b37b37_param_ordera mandatory parameter may follow optional ones, and the call then names itb37_param_order.eve
b38b38_named_requireda parameter after optional parameters can't be positional: the call must name itb38_named_required.eve
b39b39_vararg_functiona vararg collects the rest of the arguments; an optional parameter after it is namedb39_vararg_function.eve
b40b40_procedure_in_expressiona procedure has no value: it can't be used in an expressionb40_procedure_in_expression.eve
b41b41_variant_paramsa variant type holds one of the listed types and takes the type of the value assigned (from demo/variant_type.eve and demo/variant_params.eve)b41_variant_params.eve
b42b42_defer_proceduredefer in a procedure runs when the procedure ends, by any path, in reverse orderb42_defer_procedure.eve
b43b43_vararg_procedurea vararg parameter collects the arguments of a procedure; * spreads a list into itb43_vararg_procedure.eve
b44b44_lambda_calla lambda is not called where it is written: it gets a name, then the name is calledb44_lambda_call.eve
b45b45_primary_not_appliedno aspect applies a primary aspect: it is run by a commandb45_primary_not_applied.eve
b46b46_three_levelsan aspect calls an aspect that calls a third one: three levelsb46_three_levels.eve
b47b47_aspect_cyclea chain of calls that comes back to an aspect is a compile errorb47_aspect_cycle.eve
b48b48_aspect_self_callan aspect can't call itselfb48_aspect_self_call.eve
b49b49_four_levelsthe chain of calls is at most three levels deepb49_four_levels.eve
b50b50_private_processa private process is applied by its bare name, in the aspect that declares itb50_private_process.eve
b51b51_private_process_statethe private processes of a call share the state of the aspectb51_private_process_state.eve
b52b52_dot_on_aspectthe dot is never applied to an aspect: only main is publicb52_dot_on_aspect.eve
b53b53_no_mainan aspect without a process main can't be appliedb53_no_main.eve
b54b54_run_exclusivea command runs an exclusive aspect alone, for testingb54_run_exclusive.eve
b55b55_function_recovera function and a procedure can have a recover region: the error is handled inside, the caller goes onb55_function_recover.eve
b56b56_recover_resultwhen recover ends, the function returns its result variables as they are: the zero value if recover sets nothingb56_recover_result.eve
b57b57_recover_propagatesan error raised in recover goes to the caller; abort passes the same error on; the caller's recover sees itb57_recover_propagates.eve
b58b58_recover_retry_refusedretry and resume need a failed job: in the recover of a function they are a run-time errorb58_recover_retry_refused.eve
b59b59_generator_no_recovera generator has no recover region: it is a compile errorb59_generator_no_recover.eve
b60b60_cfg_setup-e file.cfg sets system variables: lines $name = literal, # comments, an Integer, a Real, a Logic and a Stringb60_cfg_setup.eve
b61b61_cfg_bad_linea configuration file with a bad line stops the run before it starts: exit 65 and the lineb61_cfg_bad_line.eve
b62b62_cfg_setup_commandthe REPL command setup checks a configuration file and keeps it for the next runs; a missing file is reportedb62_cfg_setup_command.eve

Level 3: Modules

Modules and classes, 129 tests. The folder on GitHub.

CodeTestWhat it checksSource
c01c01_import_moduleImport a module with an unquoted path; members are reached as module.memberc01_import_module.eve
c01c01_test1 (variation)variation 1 of c01: the same module, another use case: only the constant, no callc01_test1.eve
c01c01_test2 (variation)variation 2 of c01: the same module under an alias, called in a loopc01_test2.eve
c02c02_import_string_pathImport with a path written as a stringc02_import_string_path.eve
c02c02_test1 (variation)variation 1 of c02: a string path and the members without prefixc02_test1.eve
c03c03_import_aliasuse (m as x): members are reached through the aliasc03_import_alias.eve
c03c03_test1 (variation)variation 1 of c03: the same module without a prefixc03_test1.eve
c04c04_import_membersuse (m(*)): the exported members of m are used without prefixc04_import_members.eve
c04c04_test1 (variation)variation 1 of c04: the same module with its name as prefixc04_test1.eve
c05c05_import_alluse (*): every module of the folder, names merged into the scopec05_import_all.eve
c05c05_test1 (variation)variation 1 of c05: the two modules one by one, each with its prefixc05_test1.eve
c06c06_module_lifecycleinitialize runs at the import, finalize after the process of the primary aspectc06_module_lifecycle.eve
c06c06_test1 (variation)variation 1 of c06: a module that is imported and never calledc06_test1.eve
c07c07_module_singletona module is loaded once: the primary aspect and an aspect share the same copyc07_module_singleton.eve
c07c07_test1 (variation)variation 1 of c07: the aspect applied twice shares the same modulec07_test1.eve
c08c08_module_privatea member that a module does not export can't be used outside it ( b)c08_module_private.eve
c08c08_test1 (variation)variation 1 of c08: the exported members onlyc08_test1.eve
c09c09_extension_methodan extension method: a method with @self of a class, declared outside the classc09_extension_method.eve
c09c09_test1 (variation)variation 1 of c09: another extension of the imported classc09_test1.eve
c100c100_data_qualitydata.quality: nulls, completeness, the profile of a column, duplicates and outliersc100_data_quality.eve
c101c101_data_inferdata.infer: the cells of CSV text, the type of a cell and the columns of a table with their typesc101_data_infer.eve
c102c102_data_streamdata.stream: generators that map, filter, take, drop, chain, number, slide over and merge a source one value at a time; an infinite source is read only as far as neededc102_data_stream.eve
c103c103_ids_hashcrypto.crc32 and crypto.fnv1a: checksums of the bytes of a text (values of the standard check string 123456789)c103_ids_hash.eve
c104c104_ids_base32ids.base32: bytes as base32 text (the alphabet of Crockford) and backc104_ids_base32.eve
c105c105_ids_ulidids.ulid: ULID from an instant and bytes, its time, the short text of a UUID, and ids picked from bytes; the ids made from the clock and the random bytes are tested by their shapec105_ids_ulid.eve
c106c106_ids_checkids.check: the Luhn digit, the ISBN-13 and the IBANc106_ids_check.eve
c107c107_doc_libraryeve doc writes a Markdown page for every module of a library folder, from the ** comments and the signaturesc107_doc_library.eve
c10c10_classclass with a constructor, methods, visibility, reference and clonec10_class.eve
c11c11_extension_method_localan extension method: declared outside the class, first parameter @self with the class typec11_extension_method_local.eve
c12c12_inheritancea subclass builds its object through the constructor of its superclassc12_inheritance.eve
c13c13_visibilitya private member is seen only inside its classc13_visibility.eve
c14c14_attribute_outsidecode outside a class can't add an attribute to an objectc14_attribute_outside.eve
c15c15_procedure_in_classa class hosts only methods: a procedure in a class body is a compile errorc15_procedure_in_class.eve
c16c16_function_selfa function or a procedure can't be bound to a class with @self: only a method canc16_function_self.eve
c17c17_function_in_classa class hosts only methods: a function in a class body is a compile errorc17_function_in_class.eve
c18c18_module_conflictuse (m(*)) merges the names: two modules that export the same name: the first import wins, the second is hidden, with a warningc18_module_conflict.eve
c18c18_test1 (variation)variation 1 of c18: the right way: the two modules by namec18_test1.eve
c19c19_export_variablea module has no public variables: exporting one is a compile errorc19_export_variable.eve
c20c20_export_undeclaredexport lists declared members only: an undeclared name is a compile error (proposed)c20_export_undeclared.eve
c21c21_module_instancea module is not a class: it has no instancesc21_module_instance.eve
c22c22_module_init_orderdependencies are initialized first, and finalized last: the reverse order of the initializationc22_module_init_order.eve
c22c22_test1 (variation)variation 1 of c22: only the module with no importc22_test1.eve
c22c22_test2 (variation)variation 2 of c22: both modules, the dependent one first in the listc22_test2.eve
c23c23_module_free_statementa module holds declarations and regions only: a free statement is a compile errorc23_module_free_statement.eve
c24c24_import_aspectan aspect can't be imported: only a module canc24_import_aspect.eve
c25c25_module_not_founda module that is not found is the error $err_module (code 30), raised at the import, before the process startsc25_module_not_found.eve
c26c26_managed_module_variablea managed module is rejected when it has a variable that is not atomicc26_managed_module_variable.eve
c27c27_managed_module_direct_calla managed module that calls a direct module is rejectedc27_managed_module_direct_call.eve
c28c28_managed_modulea managed module is accepted: no variable, no unsafe callc28_managed_module.eve
c28c28_test1 (variation)variation 1 of c28: a managed module under an aliasc28_test1.eve
c29c29_external_signaturea module may declare external functions and procedures (no body), exported by name, even a reserved word like writec29_external_signature.eve
c29c29_managed_module_atomica managed module is accepted when every variable is Atomic(:T)c29_managed_module_atomic.eve
c29c29_test1 (variation)variation 1 of c29: the atomic counter, many timesc29_test1.eve
c30c30_atomic_classclass Name <: Atomic(:T) declares an atomic typec30_atomic_class.eve
c30c30_test1 (variation)variation 1 of c30: a type derived from Atomic, used ten timesc30_test1.eve
c30c30_external_with_bodyan external routine has no body: giving one is a compile errorc30_external_with_body.eve
c31c31_atomic_variableAtomic(:T) is a library class: a variable is declared:Atomic(:Integer) and used like an Integerc31_atomic_variable.eve
c31c31_external_callcalling an external of a user module that the machine does not implement is a run-time error with a clear messagec31_external_call.eve
c32c32_module_path_spellingthe same module reached by two spellings of the path is one module: loaded once, one statec32_module_path_spelling.eve
c33c33_managed_bare_calla managed module can not call a direct module, also by a bare name from m(*)c33_managed_bare_call.eve
c33c33_test1 (variation)variation 1 of c33: the bare name of a managed module is acceptedc33_test1.eve
c34c34_module_recoveran exported function or procedure of a module can have a recover region; it handles the error before the importer sees itc34_module_recover.eve
c35c35_method_recovera method can have a recover region; it sees self and its own variablesc35_method_recover.eve
c36c36_constructor_no_recovera constructor has no recover region: it is a compile errorc36_constructor_no_recover.eve
c37c37_error_in_modulean error raised in a module names the file of the module, not the script that called it (G-1)c37_error_in_module.eve
c38c38_external_nativean external of a module is bound to the native of the machine with the same module and name (G-3, TD-2)c38_external_native.eve
c39c39_project_dataa project reads its input from data/in through $EVE_HOME and writes its output to data/out (project-layout.md)c39_project_data.eve
c39c39_property_method_same_namea property and a method of one class may not share a name (CLS-13)c39_property_method_same_name.eve
c40c40_private_attribute_needs_constructora private attribute needs a constructor in the same class (CLS-17b)c40_private_attribute_needs_constructor.eve
c41c41_destructora destructor runs when the last reference goes away, newest first, once; an error in it is dropped (CLS-14)c41_destructor.eve
c42c42_class_constantset in the body of a class defines a constant, initialized once when the class is declared, read as Class.NAME (CLS-17b)c42_class_constant.eve
c43c43_module_reexportfrom sub export (*): the parent module re-exports the exported names of a submodule of its folderc43_module_reexport.eve
c43c43_test1 (variation)variation 1 of c43: a name that the parent lists but the submodule does not export is a compile errorc43_test1.eve
c44c44_import_alias_alluse (*) alias x: every module of the folder merged under one prefixc44_import_alias_all.eve
c44c44_test1 (variation)variation 1 of c44: two modules of the folder export the same name: the first (by file name) wins, the second is hidden, with a warningc44_test1.eve
c45c45_import_default_nameuse (*) gives bare names and also the folder name as a prefix: from lib/shapes use (*) -> shapes.namec45_import_default_name.eve
c45c45_test1 (variation)variation 1 of c45: the submodules of a parent module are members of it: shapes.sides.square_sides()c45_test1.eve
c46c46_rational_literalthe type Rational: the literal 3\4, lowest terms, sign, printing, type, zero value, equalityc46_rational_literal.eve
c47c47_rational_arithmeticthe type Rational: exact + - * / ^, mixing with Integer and Real, comparison, compound assignment, errorsc47_rational_arithmetic.eve
c47c47_test1 (variation)variation 1 of c47: a Rational and a Decimal are never mixed: a compile error, exit 65c47_test1.eve
c47c47_test2 (variation)variation 2 of c47: Rationals in collections: sort, min, max, sum, unique, contains, index_of, map and filterc47_test2.eve
c48c48_rational_librarylibrary math, module rational: of, numerator, denominator, reciprocal, truncate, is_whole, to_real, from_real, parse, mediant, continuedc48_rational_library.eve
c49c49_rational_stressthe type Rational under load: laws on a grid, Farey sequences, harmonic numbers to the overflow, Bernoulli numbers, continued fractions, sorting; the expected values come from Python's fractionsc49_rational_stress.eve
c50c50_complex_literalthe type Complex: the imaginary literal i99, a complex number as a sum in parentheses, equality, printing, type, zero valuec50_complex_literal.eve
c51c51_complex_arithmeticthe type Complex: + - * / ^ with Complex, Integer, Real and Rational; no order; errors. Expected values from Python's complex numbersc51_complex_arithmetic.eve
c51c51_test1 (variation)variation of c51: a Complex has no order: a compile error, exit 65c51_test1.eve
c51c51_test2 (variation)variation of c51: a Complex and a Decimal are never mixed: a compile error, exit 65c51_test2.eve
c52c52_complex_librarylibrary math, module complex: of, real_part, imag_part, modulus, argument, conjugate, from_polar, exp, log, sqrt, pow, is_real; abs of a Complex. Expected values from Python's cmathc52_complex_library.eve
c53c53_complex_stressthe type Complex under load: a Mandelbrot grid, roots of unity, a discrete Fourier transform, De Moivre, Gaussian integers; the totals come from Python's complex numbersc53_complex_stress.eve
c60c60_repl_sessionthe prompt runs Eve lines in one session scope: a variable of one line is seen by the next, an expression is printed, an error does not end the session (F-TLS-03)c60_repl_session.eve
c61c61_error_classesthe run-time errors have classes: $error is DivideError, $error is Error (every error), SqlError <: DatabaseError; error_type(code) gives the class of a code (errors.md#error-classes)c61_error_classes.eve
c62c62_error_constructError(code, message) and the class of a code make an error object to raise; warn(code, message) writes a warning line on the standard error and goes on (errors.md#error-classes)c62_error_construct.eve
c63c63_stats_describestats.describe: mean, median, mode(s), variance and standard deviation (sample and population), quantile, range, skew, kurtosis, describe; errors are $err_argumentc63_stats_describe.eve
c64c64_stats_correlatestats.covariance, pearson, spearman and ranks; lists of different length or equal numbers are $err_argumentc64_stats_correlate.eve
c65c65_stats_regressstats.regress.linear gives slope, intercept and r2; stats.regress.poly the coefficients of a polynomial, lowest power firstc65_stats_regress.eve
c66c66_stats_distribstats.distrib: the normal, binomial, Poisson and uniform distributions; a bad parameter is $err_argumentc66_stats_distrib.eve
c67c67_stats_samplestats.sample.draw with and without replacement and stats.sample.bootstrap; the same seed gives the same sample; a bad size is $err_argumentc67_stats_sample.eve
c68c68_stats_histogramstats.histogram.bins: equal-width bins from the smallest to the largest number, the last bin closed on the rightc68_stats_histogram.eve
c69c69_stats_movingstats.moving.simple has null for the first n - 1 items; stats.moving.exponential starts with the first numberc69_stats_moving.eve
c70c70_expect_messageexpect and assert take a message: expect cond else "text"; and expect cond, "text"; it is the message of the error (errors.md#expect-and-assert)c70_expect_message.eve
c71c71_error_class_codea program defines its own errors as classes below Error with a code from 1000 up; raise gives the code, the message and the fields to recover; a class below such a class keeps the code (errors.md#errors-of-a-program)c71_error_class_code.eve
c72c72_error_code_reservedthe codes below 1000 are the compiler's and the standard library's: an error class of a program with one is a compile errorc72_error_code_reserved.eve
c73c73_error_class_no_codea class below Error needs a code of its own or of a parent of the programc73_error_class_no_code.eve
c74c74_raise_unknown_coderaise (code, text) takes a standard code or the code of a class of the program: another number is a compile errorc74_raise_unknown_code.eve
c75c75_error_constructor_codeError(code, text) takes a standard code too; the code of a class of the program is made by the classc75_error_constructor_code.eve
c76c76_calendar_periodcalendar.period: the quarter, week, year and fiscal year of a datec76_calendar_period.eve
c77c77_calendar_holidayscalendar.holidays: Easter of both churches, the holidays of a country in a year, the name of a day; an unknown calendar is $err_argumentc77_calendar_holidays.eve
c78c78_calendar_businesscalendar.business: business days with and without the holidays of a calendarc78_calendar_business.eve
c79c79_text_encodetext.encode: hexadecimal, Base64, Base64 for URLs and percent encoding of a String, and back; a bad percent code is $err_argumentc79_text_encode.eve
c80c80_text_slugtext.slug: the letters with marks written plainly and the slug of a textc80_text_slug.eve
c81c81_text_templatetext.template: a text with holes that a map fills; two braces are one brace; a missing value is $err_key, a bad hole $err_argumentc81_text_template.eve
c82c82_text_difftext.diff: the lines that were kept, removed and added, and the same as textc82_text_diff.eve
c83c83_text_regextext.regex: is_match, matches, find, find_all, replace and split with the regex literal form /pattern/flags; the operator =~ uses the same engine; a bad pattern is $err_argumentc83_text_regex.eve
c84c84_text_unicodetext.unicode: the canonical composition of a text and its width on a terminalc84_text_unicode.eve
c85c85_finance_decimalDecimal.round(scale, mode), scale(), units(), Decimal.of(units, scale) and Decimal.parse: the rounding modes of moneyc85_finance_decimal.eve
c86c86_finance_moneyfinance.money: the digits of a currency from the meta database, rounding of an amount by a named rule, minor units, and sharing an amount without losing a unitc86_finance_money.eve
c87c87_finance_percentfinance.percent: change, share, markup and margin in percent, and an amount of money raised or cut by a percentagec87_finance_percent.eve
c88c88_finance_interestfinance.interest: simple and compound interest, present and future value, effective and nominal rates; the Reals are shown in micro-unitsc88_finance_interest.eve
c89c89_finance_loanfinance.loan: the payment of an annuity loan and its schedule in money; the last payment clears the balancec89_finance_loan.eve
c90c90_finance_investfinance.invest: net present value, internal rate of return and payback of cash flowsc90_finance_invest.eve
c91c91_finance_taxfinance.tax: a tax by brackets and VAT on a pricec91_finance_tax.eve
c92c92_finance_depreciationfinance.depreciation: straight line, declining balance and sum of the years' digitsc92_finance_depreciation.eve
c93c93_finance_invoicefinance.invoice: the net of a line and the totals of an invoice, with the tax rounded for each line or once for the whole invoicec93_finance_invoice.eve
c94c94_eng_constantseng.constants: the constants of physics in SI units (CODATA 2018)c94_eng_constants.eve
c95c95_eng_unitseng.units: conversion between the units of a dimension, temperatures with their offsets, and checked arithmetic on quantitiesc95_eng_units.eve
c96c96_eng_numericeng.numeric: roots, integrals, differential equations and interpolation; the Reals are shown roundedc96_eng_numeric.eve
c97c97_eng_signaleng.signal: convolution, the discrete Fourier transform and its inverse, magnitudes and frequenciesc97_eng_signal.eve
c98c98_eng_geometryeng.geometry: points, polygons, triangles, circles, the convex hull and the crossing of two segmentsc98_eng_geometry.eve
c99c99_data_rowsdata.rows: groups, counts, sums, joins, pivots, duplicates, top rows, windows and the filling of nulls over lists of recordsc99_data_rows.eve

Level 4: Parallel

Parallel processing, 62 tests. The folder on GitHub.

CodeTestWhat it checksSource
d01d01_concurrent_direct_callthe compiler flags the call of a direct module from a concurrent aspectd01_concurrent_direct_call.eve
d02d02_concurrent_managed_calla concurrent aspect calls a managed moduled02_concurrent_managed_call.eve
d02d02_test1 (variation)variation 1 of d02: the concurrent aspect with another inputd02_test1.eve
d03d03_concurrent_bare_calla concurrent aspect can not call an unsafe member, also by a bare name from m(*)d03_concurrent_bare_call.eve
d04d04_parallel_grouptwo parallel groups run one after the other; the output of a group is in the order of startd04_parallel_group.eve
d05d05_parallel_outputseach started aspect writes its own element of an array; the results are ready after doned05_parallel_outputs.eve
d05d05_test1 (variation)variation 1 of d05: start inside if, inputs by value, a declaration local to the groupd05_test1.eve
d06d06_start_exclusivestart of an aspect without a kind word is a compile error: it is exclusived06_start_exclusive.eve
d07d07_start_outside_groupstart outside the do region of a parallel group is a compile errord07_start_outside_group.eve
d08d08_same_outputtwo starts of a group can not receive the same output variable ($err_output)d08_same_output.eve
d08d08_test1 (variation)variation 1 of d08: an output with a computed index is checked at start: $err_output 43d08_test1.eve
d09d09_parallel_errorfailed tasks do not stop the others; done raises ParallelError with the errors in the order of startd09_parallel_error.eve
d09d09_test1 (variation)variation 1 of d09: nobody recovers the ParallelError: exit 4, one line per failed taskd09_test1.eve
d09d09_test2 (variation)variation 2 of d09: retry in recover runs the whole group againd09_test2.eve
d10d10_on_error_cancelon error cancel stops the other tasks after the first failure; they are counted, not listedd10_on_error_cancel.eve
d11d11_within_timeoutwithin sets a deadline: a task still running gets a TimeoutErrord11_within_timeout.eve
d12d12_channel_pipelinea pipeline: one producer, four workers and a collector connected by two channelsd12_channel_pipeline.eve
d13d13_channel_closedsend into a closed channel raises ChannelError, code 46d13_channel_closed.eve
d14d14_deadlocka consumer that waits on a channel nobody sends to is a deadlock; the error names itd14_deadlock.eve
d15d15_atomic_countereight tasks add to an Atomic(:Integer) of a managed module: the total is exactd15_atomic_counter.eve
d16d16_split_batchsplit(k) and batch(n) cut a list; the parts are summed in parallel and combined by indexd16_split_batch.eve
d17d17_job_spawnspawn starts async procedures in a job, await waits for an async function; done waits for every taskd17_job_spawn.eve
d18d18_spawn_functionspawn of an async function is a compile error: its result would be lostd18_spawn_function.eve
d19d19_async_plain_callan async procedure called without spawn or await is a compile error ( b)d19_async_plain_call.eve
d20d20_traita class adopts a trait: it writes the required method and gets the provided oned20_trait.eve
d21d21_trait_missing_methoda class that does not write a required method of its trait is a compile errord21_trait_missing_method.eve
d22d22_abstract_classan abstract class is built only by the constructor of a subclass that writes its required methodd22_abstract_class.eve
d23d23_abstract_newan abstract class can not be created outside the constructor of a subclassd23_abstract_new.eve
d24d24_generic_classa generic class is made with its type argument written; a constraint asks for a traitd24_generic_class.eve
d25d25_nested_groupthe primary aspect opens a group of concurrent aspects; outputs keep the order of start (D-206: only the primary aspect fans out)d25_nested_group.eve
d26d26_nested_too_manyan exclusive aspect starts nothing in parallel: a start in it is a compile error, the limit of two starts of D-140 is goned26_nested_too_many.eve
d27d27_start_orderthe output of a group is written in the order of start, whatever task ends firstd27_start_order.eve
d28d28_channel_receivereceive(@x) takes one value; a for loop takes the rest until the channel is closedd28_channel_receive.eve
d28d28_test1 (variation)variation 1 of d28: receive from a closed, empty channel raises ChannelError 46d28_test1.eve
d28d28_test2 (variation)variation 2 of d28: a close beyond the number of senders is an errord28_test2.eve
d29d29_auto_closea failing producer does not close its channel: the machine closes it, so the consumer endsd29_auto_close.eve
d30d30_channel_timeouta wait on a channel longer than $timeout raises TimeoutError in that taskd30_channel_timeout.eve
d31d31_leaf_groupa concurrent aspect may open a group that starts its own private processes; the primary aspect calls itd31_leaf_group.eve
d32d32_parallel_in_procedurea parallel group in a procedure is a compile error: only in the main of a primary aspect or of an aspectd32_parallel_in_procedure.eve
d33d33_job_spawn_errora failing spawned task does not stop the others; the done of the job raises ParallelErrord33_job_spawn_error.eve
d34d34_trait_conflicttwo traits that provide the same method force the class to write itd34_trait_conflict.eve
d35d35_library_traitsa Printable object prints its describe; Comparable gives compare to numbers and textsd35_library_traits.eve
d36d36_private_start_atomica concurrent aspect starts its own private processes; they add to an atomic variabled36_private_start_atomic.eve
d37d37_private_start_plaina started private process uses only the thread-safe names of its aspectd37_private_start_plain.eve
d38d38_primary_start_privatea primary aspect is serial: it applies its private processes, it does not start themd38_primary_start_private.eve
d39d39_concurrent_by_commanda command does not run a concurrent aspect: it is called from a primary or an exclusive aspectd39_concurrent_by_command.eve
d40d40_concurrent_calls_concurrenta concurrent aspect does not call another concurrent aspectd40_concurrent_calls_concurrent.eve
d41d41_generic_class_two_paramsa generic class takes several type parameters, written in the same list (CLS-09)d41_generic_class_two_params.eve
d42d42_adopt_traita type adopts a trait outside its declaration: adopt Trait for Type is... end adopt; (CLS-15)d42_adopt_trait.eve
d43d43_adopt_missing_methodan adopt block must write every method that the trait requires (CLS-15)d43_adopt_missing_method.eve
d44d44_generic_inferred_constrainta call without a type list is checked against the constraint too: a list of Points given to largest(:T <: Comparable) is a compile errord44_generic_inferred_constraint.eve
d45d45_generic_class_constraintthe type argument of a generic class must adopt the constraint of its parameter: Sorted(:Point) is a compile errord45_generic_class_constraint.eve
d46d46_fmt_commandeve fmt --check reports a file whose layout would change (trailing white space, blank lines in a row, more than one line ending at the end) and exits 1; a file in layout exits 0 (lexical.md#layout)d46_fmt_command.eve
d46d46_test1 (variation)variation of d46: a file in layout is left alone (exit 0)d46_test1.eve
d47d47_lint_commandeve lint reports the variables, parameters, loop variables and imports that are declared and never used; a name that starts with _ is meant to be unused; exit 1 when there are warningsd47_lint_command.eve
d48d48_exclusive_calls_concurrentan exclusive aspect does not apply a concurrent aspect: only the primary aspect calls one (D-206)d48_exclusive_calls_concurrent.eve
d49d49_max_parallel$cores is the number of hardware cores (1 to 16) and $max_parallel the tasks of a group that run at a time (default 8): a start beyond it waits until a task of the group has endedd49_max_parallel.eve
d50d50_atomic_heavyfour tasks add 50,000 times each to an Atomic(:Integer) of a managed module: the total is exact whatever the number of coresd50_atomic_heavy.eve
d51d51_channel_copya list sent through a channel is copied: the sender and the receiver each change their own copyd51_channel_copy.eve
d52d52_output_copyan input is a copy, an output is copied back at done: the parent and the task never share a listd52_output_copy.eve
d53d53_task_garbagesix tasks make and drop many lists and texts: each task frees its own garbage while it runs, and the sums are exactd53_task_garbage.eve
d54d54_db_tasksfour tasks query the same database connection: the connection is one for the run and the tasks take turns, so every answer is completed54_db_tasks.eve

Level 5: Data

Data and database, 203 tests. The folder on GitHub.

CodeTestWhat it checksSource
e01e01_generic_functiona generic function has a list of types before its parameters; the call infers the types or writes theme01_generic_function.eve
e02e02_generic_procedurea generic procedure takes a list of types; the call infers it or writes ite02_generic_procedure.eve
e03e03_generic_methoda method has its own list of types, in a generic class or in a plain classe03_generic_method.eve
e04e04_generic_processthe process of an aspect takes a list of types; apply infers it or writes it; one Eve macroe04_generic_process.eve
e05e05_overload_typesfunctions and procedures share a name when the types of their parameters differe05_overload_types.eve
e06e06_overload_countfunctions and procedures share a name when the number of their parameters differse06_overload_count.eve
e07e07_overload_resultfunctions that differ only by the type of the result: the type expected at the call selects onee07_overload_result.eve
e08e08_overload_ambiguousa call that does not fix the type of the result of an overloaded function is ambiguous: compile errore08_overload_ambiguous.eve
e09e09_overload_defaultsa default value can make two signatures match the same call: compile errore09_overload_defaults.eve
e100e100_sql_function_typethe parameters and the result of a sql function have SQL types: a List is refusede100_sql_function_type.eve
e101e101_sql_function_overloada sql function can not be overloaded: SQL finds a function by its namee101_sql_function_overload.eve
e102e102_proc_moduleEve stored procedures: a module of proc/ is imported like any module; its sql function is registered on the connectione102_proc_module.eve
e102e102_test1 (variation)eve db proc list: the modules of proc/ with the hash of their source, and their exported procedures with signaturese102_test1.eve
e103e103_secret_joina Secret is not a String: joining it to a text with + is a compile error (data-language.md#secrets)e103_secret_join.eve
e104e104_yield_in_nested_functionyield in a function declared inside a generator is a compile error: only the body of the generator itself yieldse104_yield_in_nested_function.eve
e105e105_decimal_real_convertDecimal and Real are converted explicitly: d.real(), r.decimal(), or by:= to a variable or a type hint of the other kinde105_decimal_real_convert.eve
e106e106_print_nullnull is the value and Null its type: print writes null, type() gives Nulle106_print_null.eve
e107e107_time_now_bangthe clock is not deterministic: its name ends with !, time.now!(); time.now() is refusede107_time_now_bang.eve
e108e108_macro_primary_pipelinea macro: the primary aspect applies a concurrent aspect that starts its own private processese108_macro_primary_pipeline.eve
e109e109_macro_primary_appliedin a macro, no aspect applies the primary aspecte109_macro_primary_applied.eve
e10e10_overload_no_matcha call that matches no signature of an overloaded name is a compile errore10_overload_no_match.eve
e110e110_connection_importimport: a method of the connection that loads a file (CSV, TXT, JSON or DBF) as a new tablee110_connection_import.eve
e111e111_memory_tableMemory: a class derived from Memory is a columnar table; a column is named by its field; load and store move datae111_memory_table.eve
e11e11_function_procedure_namea function and a procedure never share a name: compile errore11_function_procedure_name.eve
e120e120_duration_literalthe type Duration: the literals 5us 250ms 30s 2m 1h, equality and order, the ISO text, the zero value, a list of durationse120_duration_literal.eve
e121e121_duration_arithmeticthe type Duration: + - * / with Duration and Integer, Instant plus and minus a Duration, Instant minus Instant, errorse121_duration_arithmetic.eve
e121e121_test1 (variation)variation of e101: a Duration plus a plain number is a compile error, exit 65e121_test1.eve
e121e121_test2 (variation)variation of e101: a number minus a Duration is a compile error, exit 65e121_test2.eve
e121e121_test3 (variation)variation of e101: a Duration times a Real is a compile error, exit 65e121_test3.eve
e122e122_time_modulethe module time: now!, seconds, millis, micros, sleep; Duration.parse; wait and within accept a Duration (and the old integer of milliseconds)e122_time_module.eve
e123e123_date_basicsthe types Date and Time: made by functions, fields, text, parse, zero value, comparison, errorse123_date_basics.eve
e124e124_date_arithmeticDate and Time: + - with days and Durations, the clock that wraps, add_months, add_years, start_of, months_between, sortinge124_date_arithmetic.eve
e124e124_test1 (variation)variation of e124: two Dates cannot be added: a compile error, exit 65e124_test1.eve
e124e124_test2 (variation)variation of e124: a Date and a Time are not compared: a compile error, exit 65e124_test2.eve
e124e124_test3 (variation)variation of e124: a Time plus a plain number: a compile error, exit 65e124_test3.eve
e124e124_test4 (variation)variation of e124: a Date times a number: a compile error, exit 65e124_test4.eve
e125e125_date_tableDate: 220 dates against Python's datetime: weekday, day of year, ISO week and year, add_months, add_years, start_of, end_of_month, months_between, the day counte125_date_table.eve
e126e126_date_ioDate, Time and Duration fields: written and read back by csv and json, canonical text, a bad value is a read errore126_date_io.eve
e127e127_time_patternstime.format and time.parse: the letters, quoted text, the placeholders {d % pattern}, the typed Date.parse(text, pattern), and the errorse127_time_patterns.eve
e128e128_time_pattern_tabletime.format against Python for 160 instants and six patterns, and the round trip parse(format(x)) for the patterns that keep every fielde128_time_pattern_table.eve
e129e129_meta_zonethe library zone over the meta database: exists, canonical, offset, abbreviation, is_dst, names; the entries of meta.info; errorse129_meta_zone.eve
e12e12_same_signaturetwo declarations with the same signature are a compile errore12_same_signature.eve
e130e130_meta_zone_tablethe zones of the meta database against Python's zoneinfo (the same tzdata release): 32 zones, 140 instants each, from 1840 to 2105, with the offset and the abbreviatione130_meta_zone_table.eve
e131e131_meta_zone_bulkthe zones of the meta database against Python's zoneinfo (the time limit is 120 s: the zone door is Eve code, 30 times slower than the former native code, TD-91) for 240000 instants (1900 to 2100): the sum of the offsets of 20000 instants in each of 12 zonese131_meta_zone_bulk.eve
e132e132_meta_sqlthe meta database as a read only SQL database: database.connect("meta") needs no eve.cfg; joins with the tables of the user's own data; a write is refusede132_meta_sql.eve
e133e133_datetime_basicsthe types Zone and DateTime: time.zone, at_zone, make (a gap, a time shown twice), the fields, + and - with a Duration, equality across zones, add_months and start_of in a zone, the zero valuese133_datetime_basics.eve
e133e133_test1 (variation)variation of e133: a DateTime plus a plain number: a compile error, exit 65e133_test1.eve
e133e133_test2 (variation)variation of e133: two DateTimes cannot be added: a compile error, exit 65e133_test2.eve
e133e133_test3 (variation)variation of e133: a Zone has no arithmetic: a compile error, exit 65e133_test3.eve
e133e133_test4 (variation)variation of e133: a DateTime and a Date are not compared: a compile error, exit 65e133_test4.eve
e134e134_datetime_patternsDateTime: the letters X, VV and z, a zone in parse, DateTime.parse of the ISO forms, Zone.parse, the placeholders, the errorse134_datetime_patterns.eve
e135e135_datetime_tableDateTime against Python's zoneinfo: at_zone gives the same wall-clock text for 90 instants in 12 zones (1860 to 2100, the old local mean times, every kind of summer time), and make finds the instant of 60 local times in each zone (the first of two when the clock shows a time twice)e135_datetime_table.eve
e136e136_datetime_ioDateTime and Zone fields: written and read back by csv and json in the canonical text (the offset, not the region); a bad value is a read errore136_datetime_io.eve
e137e137_local_zonethe zone of the machine and today: whatever the machine is, the answers fit each othere137_local_zone.eve
e138e138_meta_schemathe schema of the meta database: continents, countries with a continent, zones with a country; the foreign keys hold and the data fits the sourcese138_meta_schema.eve
e139e139_bytes_basicsBytes: made from hex, base64, numbers or text; printed as 0x and hex; indexed from 1; a slice is a copy; the operators compare by contente139_bytes_basics.eve
e13e13_method_result_or_nota method without a result and one with a result share a name: a statement calls the first, an expression the seconde13_method_result_or_not.eve
e140e140_bytes_errorsBytes errors: a bad hex digit or base64 character, a value outside 0 to 255, an index outside, a text that is not UTF-8e140_bytes_errors.eve
e141e141_bytes_filea file read and written as Bytes: the content is kept exactly, any byte values, and hashing text gives the same bytese141_bytes_file.eve
e142e142_uuid_basicsUuid: parsed from text in any case, with or without hyphens and braces; printed in lower case with hyphens; a version and 16 bytese142_uuid_basics.eve
e143e143_uuid_errorsUuid errors: a text that is not a Uuid, bytes of another length, the time of a version other than 7, a namespace that is not a Uuide143_uuid_errors.eve
e144e144_uuid_v7_timea version 7 Uuid carries the time it was made: a later one sorts after an earlier one, and its instant is the moment of the calle144_uuid_v7_time.eve
e145e145_optional_defaultx ?? d is x when x is not null, else d; it groups to the right, and d is not run when x is not nulle145_optional_default.eve
e146e146_optional_narrowa test against null narrows the optional name inside the block: its type is the plain one there; a test with and narrows the right sidee146_optional_narrow.eve
e147e147_optional_arith_errora value that may be null is not an operand of + until a test narrows it: compile errore147_optional_arith_error.eve
e148e148_optional_method_errora method called on a value that may be null is a compile error until the value is testede148_optional_method_error.eve
e149e149_optional_scope_errorthe narrowing of a test lasts only inside its block: after the block the value may be null againe149_optional_scope_error.eve
e14e14_generic_lambdaa lambda has no list of types: compile errore14_generic_lambda.eve
e150e150_null_to_plain_errornull is not a value of a plain type: a variable of a plain type can not be given nulle150_null_to_plain_error.eve
e151e151_fs_globfs.glob!: a pattern of names, * and ? inside one segment of a path, sorted by name in the byte order; a folder that does not exist gives no name (data-language.md#files-and-paths)e151_fs_glob.eve
e152e152_gzip_readersthe readers of csv, json, txt and fs.lines! decompress a path that ends in .gz; a file that is not gzip is $err_format (data-language.md#compression)e152_gzip_readers.eve
e153e153_format_round_triprecords written as CSV and as JSON are read back equal: the same rows, the same values, in the same order (data-language.md#files-and-paths)e153_format_round_trip.eve
e154e154_gzip_streamgzip.open! gives the content of a gzip file as a Stream(:Bytes), in chunks of 64 KiB: the chunks are in order and their lengths add up to the content (data-language.md#compression)e154_gzip_stream.eve
e155e155_optimization_levelthe optimization level is the command line option -O: the script reads it as $optimization and can not change ite155_optimization_level.eve
e155e155_test1 (variation)without -O the level is 1, the loweste155_test1.eve
e155e155_test2 (variation)the level is a whole number from 0 to 10: another number is a usage error (exit 64) and the script does not rune155_test2.eve
e155e155_test3 (variation)$optimization is read only in the script: a script can not set the levele155_test3.eve
e155e155_test4 (variation)the level changes the time of a run, never its result: at -O 0 the output and the error are those of every other levele155_test4.eve
e155e155_test5 (variation)the level changes the time of a run, never its result: at -O 10 the output and the error are those of every other levele155_test5.eve
e156e156_optimization_zonethe zone functions give the same answers at optimization level 5 (the database is read in the background at the start) and at levels 0 and 1 (read at the first use)e156_optimization_zone.eve
e156e156_test1 (variation)the zone functions give the same answers at optimization level 5 (the database is read in the background at the start) and at levels 0 and 1 (read at the first use)e156_test1.eve
e156e156_test2 (variation)the zone functions give the same answers at optimization level 5 (the database is read in the background at the start) and at levels 0 and 1 (read at the first use)e156_test2.eve
e157e157_meta_hintsa hint names the tables of the meta database that the script needs; at optimization level 5 they are copied in the background at the start, and the zone functions give the same answerse157_meta_hints.eve
e157e157_test1 (variation)the same script at the lowest level: the tables are copied at the first usee157_test1.eve
e157e157_test2 (variation)a hint that names a table that does not exist is a compile error, and the script does not rune157_test2.eve
e157e157_test3 (variation)require(*) gives every table, and the SQL door of the meta database reads the release of the zone datae157_test3.eve
e157e157_test4 (variation)no hint: the import of lib/meta gives the tables that its module reads, and the module works at level 5 and at level 0e157_test4.eve
e158e158_meta_rulethe POSIX rule of a zone after its last transition, evaluated in Eve: the local time of a rule at instants of the years after the stored transitions (America/Santiago, Sydney, Dublin, Lord Howe, ...)e158_meta_rule.eve
e159e159_hidden_importsa library module used without an import: the compiler adds the import, as if the script had written ite159_hidden_imports.eve
e159e159_test1 (variation)a variable with the name of a library module is the variable: no import is added for ite159_test1.eve
e159e159_test2 (variation)a name that is not a library module is still an undefined name: a compile errore159_test2.eve
e15e15_type_not_inferreda type that the arguments do not give must be written at the call: compile errore15_type_not_inferred.eve
e160e160_static_typesa value of a basic type can not be assigned to a declared variable of another basic type: a compile error before the run (F-LNG-16)e160_static_types.eve
e160e160_test1 (variation)an argument of a basic type does not fit the parameter of another basic type: a compile error before the run (F-LNG-16)e160_test1.eve
e160e160_test2 (variation)a result of a function with another basic type than its declared result: a compile error before the run (F-LNG-16)e160_test2.eve
e160e160_test3 (variation)a declaration with a value of another basic type: a compile error before the run (F-LNG-16)e160_test3.eve
e160e160_test4 (variation)the allowed conversions: numbers of any kind go to numbers, and a String and a Text are the same kind of valuee160_test4.eve
e161e161_error_classesan object of a class raised with raise: its code and message are the error, and its own fields are read from $error in recover (F-LNG-15)e161_error_classes.eve
e161e161_test1 (variation)an object of a class raised and not recovered: the process exits with code 4 and the error is printed with its message (F-LNG-15)e161_test1.eve
e162e162_zone_spansthe spans of the zones in memory against the Eve code: every day of 1999, 2024 and 2090 at four local times (gaps and repeated hours included) in 20 zones with daylight time and with odd changes; the expected sums were made by the Eve code alone (EVE_ZONE_SLOW=1)e162_zone_spans.eve
e163e163_secret_sourcesa secret comes from the variable EVE_SECRET_<NAME>, else from the file named by EVE_SECRET_<NAME>_FILE (its last line ending cut); the variable wins; a missing file is $err_file; the value never printse163_secret_sources.eve
e164e164_os_platformos.platform() is "windows", "linux" or "macos", the same for the whole run (os.md)e164_os_platform.eve
e165e165_gzip_writegzip.write(path, data) writes a String or Bytes as a gzip file; the writers of csv, json and txt compress a path that ends in .gz, as the readers inflate it (data-language.md#compression)e165_gzip_write.eve
e166e166_zipzip.write(path, entries) writes a zip archive, zip.list!(path) gives the sorted names and zip.read!(path, name) one entry as Bytes (data-language.md#compression)e166_zip.eve
e167e167_optional_argument_errora T? name given to a plain T parameter is a compile error until a test narrows ite167_optional_argument_error.eve
e168e168_optional_while_narrowa test against null in the condition of a while loop narrows the name in the body; the name given to a plain parameter is then acceptede168_optional_while_narrow.eve
e169e169_null_to_plain_fielda NULL read into a plain member of a record is $err_null (16); into an optional member it is nulle169_null_to_plain_field.eve
e16e16_macro_applyan Eve macro: shared declarations, an exclusive aspect and the primary aspect in one filee16_macro_apply.eve
e170e170_reader_from_streamthe readers of csv, json and fs.lines! take a Stream(:Bytes) as the source, as well as a path: gzip.open! feeds them (data-language.md#compression)e170_reader_from_stream.eve
e171e171_test_modulethe standard module test, written in Eve: checks print one line, count, and summary raises when one failede171_test_module.eve
e172e172_cryptothe system module crypto: hashes, HMAC, codecs, random bytes (F-LIB-10)e172_crypto.eve
e173e173_osthe system module os: run a program without a shell, read the environment (F-LIB-07)e173_os.eve
e174e174_json_textjson.parse and json.text: JSON text in memory and plain values (F-LIB-05)e174_json_text.eve
e175e175_rpcthe standard module rpc, in Eve: build JSON-RPC 2.0 lines (F-NET-08)e175_rpc.eve
e176e176_configthe standard module config, in Eve: key = value files into a DataMap (F-TLS-12)e176_config.eve
e177e177_netthe system module net: a server and a client as tasks of one script, lines over TCP (F-NET-02)e177_net.eve
e178e178_net_timeoutset_timeout: a read that waits too long fails with $err_timeout and the server goes on (TD-27)e178_net_timeout.eve
e179e179_os_timeoutos.run! with a time-out: the child is killed, status 124 (TD-9, TD-27)e179_os_timeout.eve
e17e17_macro_parallelan Eve macro starts its concurrent aspects in a parallel group; a shared class carries the resultse17_macro_parallel.eve
e180e180_os_envos.run! gives variables to the program it starts: a map String -> String is added to its environment (CMD-04, G-10)e180_os_env.eve
e18e18_macro_atomicconcurrent aspects of a macro add to a shared atomic variable: the total is exacte18_macro_atomic.eve
e19e19_macro_unsafe_variablea concurrent aspect of a macro can not use a shared variable that is not atomic: compile errore19_macro_unsafe_variable.eve
e20e20_macro_unsafe_procedurea concurrent aspect of a macro can not call a shared procedure that changes a plain variable: compile errore20_macro_unsafe_procedure.eve
e21e21_macro_two_primarya macro has one primary aspect: a second one is a compile errore21_macro_two_primary.eve
e22e22_macro_statementa statement outside a declaration is a compile error in a macroe22_macro_statement.eve
e23e23_generator_fora generator gives its values one at a time to a for loope23_generator_for.eve
e24e24_generator_nexta generator object is driven step by step with next(), value, done and close()e24_generator_next.eve
e25e25_yield_outsideyield in a function is a compile error: only the body of a generator can yielde25_yield_outside.eve
e26e26_generator_statementa generator called as a statement is a compile error: its values would be loste26_generator_statement.eve
e27e27_decimal_scalea Decimal keeps its scale, adds exactly and compares by valuee27_decimal_scale.eve
e28e28_instantan Instant prints in the canonical form; a bad text is the error parsee28_instant.eve
e29e29_secret_maskeda Secret is never printed: print and interpolation write ***e29_secret_masked.eve
e30e30_null_in_plain_fielda null for a field that is not optional is a compile errore30_null_in_plain_field.eve
e31e31_fs_filesfs writes, appends, reads lines and reports a missing file with the error code 20e31_fs_files.eve
e32e32_csv_writethe CSV writer: header, quotes only when needed, null is empty and the empty string is ""e32_csv_write.eve
e33e33_csv_read_typedthe CSV reader decodes into a record class: Decimal, Instant, null and the empty stringe33_csv_read_typed.eve
e34e34_csv_bad_rowa CSV line with a wrong number of fields is a FormatError when the loop reaches ite34_csv_bad_row.eve
e35e35_csv_rejectsa read with a rejects output skips the bad lines and writes them in a file, in batchese35_csv_rejects.eve
e36e36_json_linesJSON Lines: the writer text is exact, the reader gives the records backe36_json_lines.eve
e37e37_txt_fixedTXT: fixed-length fields, strings left, numbers right, not trimmed; the reader slices by the widthse37_txt_fixed.eve
e38e38_nfcnormalize: "nfc" composes e + accent into one code point; by default the text is kept as reade38_nfc.eve
e39e39_table_unknown_keya key that names a field the class does not have is a compile errore39_table_unknown_key.eve
e40e40_table_reference_cycletwo tables that reference each other are a compile errore40_table_reference_cycle.eve
e41e41_table_temporary_datatemporary is allowed only for the staging database: a table of another connection is a compile errore41_table_temporary_data.eve
e42e42_commit_outside_jobcommit; is allowed only in the do region of a job: a compile error elsewheree42_commit_outside_job.eve
e43e43_update_block_keya key field can not be changed in an update block: a compile errore43_update_block_key.eve
e44e44_table_read_only_adda record can not be added to a read only table: a compile errore44_table_read_only_add.eve
e45e45_job_two_writesa job writes to one connection only: writing to two is a compile errore45_job_two_writes.eve
e46e46_orm_dirty_fieldsan update writes only the dirty fields: a column changed by direct SQL is not overwrittene46_orm_dirty_fields.eve
e47e47_orm_conflictoptimistic locking: an update of a row that changed after it was read is a ConflictErrore47_orm_conflict.eve
e48e48_job_rollbackrollback; undoes the job: nothing is written, the status is "rolled back", the process goes one48_job_rollback.eve
e49e49_job_error_rollbackan error in a job rolls the transaction back before recover runse49_job_error_rollback.eve
e50e50_update_blockan update block changes several fields of one record without repeating its namee50_update_block.eve
e51e51_update_block_validatevalidate runs at the end of an update block, with all the fields changed togethere51_update_block_validate.eve
e52e52_mapping_versionin production the VM trusts db/mappings.json: a schema version that differs is a MappingError, exit code 4e52_mapping_version.eve
e53e53_commit_checkpointcommit; ends a batch, the checkpoint (in the core database) tells the next job where to starte53_commit_checkpoint.eve
e54e54_project_initproject init <folder> makes a new project with the standard layout (F-TLS-23)e54_project_init.eve
e55e55_project_new_not_emptyproject new <folder> fails when the folder exists and is not empty; project init does not (F-TLS-23)e55_project_new_not_empty.eve
e56e56_etl_csv_sqlite_jsona small ETL on local storage: data/in/sales.csv is loaded into the SQLite database cache.db, transformed with SQL and written as JSON in data/oute56_etl_csv_sqlite_json.eve
e57e57_overload_generic_plaina plain function whose parameters fit exactly wins over a generic one with the same namee57_overload_generic_plain.eve
e58e58_generic_constrainta type argument must adopt the trait of its constraint: compile errore58_generic_constraint.eve
e59e59_extension_same_signaturean extension method with the signature of a method of the class would replace it: compile error; another signature overloads it: e60e59_extension_same_signature.eve
e60e60_extension_overloadan extension method with another signature overloads the method of the classe60_extension_overload.eve
e61e61_macro_needs_primarya file with an aspect and shared declarations but no primary aspect is not a macro: compile errore61_macro_needs_primary.eve
e62e62_macro_exporta macro exports nothing: export is a compile errore62_macro_export.eve
e63e63_macro_aspect_scopean aspect of a macro sees the shared declarations and no variable of the primary aspect's processe63_macro_aspect_scope.eve
e64e64_macro_duplicate_namea top-level name declared twice in a macro is a compile error: one scope for the whole filee64_macro_duplicate_name.eve
e65e65_macro_aspect_conflictan aspect of the macro with the name of an aspect file of the project is a compile errore65_macro_aspect_conflict.eve
e66e66_generator_lazya generator is lazy: its body runs only when the caller asks for a value, and an infinite one is closed by breake66_generator_lazy.eve
e67e67_generator_erroran error raised in the body ends the generator and is raised in the caller, at the for linee67_generator_error.eve
e68e68_generator_value_earlyreading g.value before the first next() is an errore68_generator_value_early.eve
e69e69_generator_methoda generator can be a member of a class; a comprehension collects its valuese69_generator_method.eve
e70e70_generator_two_resultsa generator has exactly one result: compile errore70_generator_two_results.eve
e71e71_generator_ref_parama generator has inputs only, by value: an @ parameter is a compile errore71_generator_ref_param.eve
e72e72_yield_in_processyield in a process is a compile error: only the body of a generator yields; in a function inside a generator: e104e72_yield_in_process.eve
e73e73_decimal_opsDecimal arithmetic is exact: subtraction, division, negation, remainder, comparison and a whole number on one sidee73_decimal_ops.eve
e74e74_decimal_real_mixa Decimal and a Real are never mixed without a conversion: an operand of the wrong type is a compile errore74_decimal_real_mix.eve
e75e75_instant_formsan Instant keeps a fraction of a second, compares by time, and a date that does not exist is the error parsee75_instant_forms.eve
e76e76_secret_rulesa Secret prints as *** alone, in interpolation and in a collection (data-language.md#secrets); joining it to a text: e103e76_secret_rules.eve
e77e77_optional_fieldsa field with ? holds null; a plain field never does; null is tested before usee77_optional_fields.eve
e78e78_null_constructor_argumentnull as an argument for a member that is not optional is a compile error, in a call of the class tooe78_null_constructor_argument.eve
e79e79_secret_missinga secret that the machine does not have is the error key, code 11 (data-language.md#secrets)e79_secret_missing.eve
e80e80_csv_optionsCSV options: another separator, no header, a BOM, CRLF line ends, and columns: renames the columns of the file (data-types.md)e80_csv_options.eve
e81e81_json_arrayJSON: an array of objects is written one object per line and read back; a missing key is null; a number keeps its scalee81_json_array.eve
e82e82_txt_rulesTXT: a value longer than its width is a FormatError, overflow: "cut" cuts it; a field of spaces is null for T? (data-types.md)e82_txt_rules.eve
e83e83_encodingsencodings: windows-1252 and a UTF-16 BOM are decoded to text; invalid UTF-8 is an error with its place, or replaced (data-types.md)e83_encodings.eve
e84e84_fs_functionsfs: read!, size!, list!, move, remove, make_dir, and the path functions and the operator / (data-language.md#files-and-paths)e84_fs_functions.eve
e85e85_rejects_limitmax_rejects: the reject after the limit is an error of the read; the rejects file has source, line, column, text and reason (data-types.md)e85_rejects_limit.eve
e86e86_stream_methodsa stream has all(), count(), close() and next() with the protocol of a generator (next() gives True and s.value); leaving the loop with break writes the rejects of what was read (data-types.md)e86_stream_methods.eve
e87e87_orm_readsreading through a table: find! gives the record or null, a second find! gives the same record, where! tracks, scan! does not (database.md)e87_orm_reads.eve
e88e88_orm_write_methodsstatus, a field set back to its value, remove, refresh after a direct write, add and flush, detach (database.md)e88_orm_write_methods.eve
e89e89_orm_reference_ordera flush writes inserts in the order of the references and deletes in the reverse order, whatever the order of the program (database.md)e89_orm_reference_order.eve
e90e90_orm_validate_addvalidate runs before every write: an invalid record fails the job at the flush and nothing is written (database.md, validation)e90_orm_validate_add.eve
e91e91_orm_loadload! writes many rows at once, not tracked: "insert" adds, "upsert" inserts the new keys and updates the others (database.md)e91_orm_load.eve
e92e92_orm_temporarya temporary table in the staging database is made by the VM from the class at its first use (database.md, the table declaration)e92_orm_temporary.eve
e93e93_orm_outside_joboutside a job a record that is added or changed is written and committed at once, one statement at a time (database.md, transactions)e93_orm_outside_job.eve
e94e94_orm_retry_conflicta conflict fails the job and rolls it back; retry runs the job again from its declarations and reads the row fresh (database.md)e94_orm_retry_conflict.eve
e95e95_machine_doorsa machine that listens on IPC only: no web, commands run through the socket (F-NET-02, spec/library/machine.md)e95_machine_doors.eve
e95e95_test5 (variation)the stdio door: a machine of one client on its standard input and output (evetx, ssh host eve --stdio)e95_test5.eve
e96e96_sql_functionsql function: an Eve function that SQLite calls from SQL, registered on every connectione96_sql_function.eve
e97e97_sql_function_erroran error in a sql function stops the query: the statement raises $err_sql with the message of the errore97_sql_function_error.eve
e98e98_sql_function_nullSQL NULL maps only to a nullable type: a NULL for a parameter of type String stops the query with $err_sqle98_sql_function_null.eve
e99e99_sql_function_banga sql function is deterministic: its name can not end with !e99_sql_function_bang.eve

Level 6: Server

The Eve machine and the server, 14 tests. The folder on GitHub.

CodeTestWhat it checksSource
f10f10_route_helloa server with routes and a client in one script: the modules net, http, route and service (F-NET-02, F-STR-08)f10_route_hello.eve
f11f11_rpc_roundtripJSON-RPC 2.0 over HTTP between a server and a client on localhost: rpc, http, route, service and net together (F-NET-08)f11_rpc_roundtrip.eve
f12f12_service_closea service with no count runs until its listener is closed; close wakes the pending accept (F-NET-02)f12_service_close.eve
f14f14_service_idlea client that sends nothing gets a 408 after the idle time and the next client is served (TD-29)f14_service_idle.eve
f17f17_http_doorthe HTTP door is safe by default: a foreign Host or Origin is refused, the lasting-door methods and os.run! are out of reach (F-NET-10, S6.0)f17_http_door.eve
f18f18_route_registera Route registers itself when it is made: a static route with set, a dynamic one with new in main, no table passed to the service (D-242, F-STR-08)f18_route_register.eve
f19f19_pg_driverthe Eve driver for PostgreSQL: a remote connection to evedb on its PostgreSQL port, md5 login (drivers/duckdb/README.md 5A, 5B)f19_pg_driver.eve
f20f20_evedb_columnarthe native driver evedb://: typed parameters, records, a job, and the column batches of Memory tablesf20_evedb_columnar.eve
f21f21_web_hellothe Eve web server answers with a page: Hello World, This is Eve (F-NET-02, first step)f21_web_hello.eve
f21f21_test2 (variation)a machine that serves HTTP only: pages and scripts over the web port (F-NET-02, spec/library/machine.md)f21_test2.eve
f21f21_test3 (variation)a machine that listens on IPC and serves HTTP: the CLI uses IPC, a remote uses HTTP (F-NET-02, spec/library/machine.md)f21_test3.eve
f21f21_test4 (variation)the machine API over HTTP: vm.* and the first names, -32601, the web door; started and stopped as the UI partf21_test4.eve
f22f22_service_routesa primary aspect is a service: evedb -s runs main, then serves the routes the script made on the HTTP portf22_service_routes.eve
f23f23_route_duplicatethe same method and path twice is an error when the second Route is madef23_route_duplicate.eve

Level 7: Web

The web, no tests yet. The folder on GitHub.