ezc/src
Tomasz Sowa 0ac8e05c04 changed semantic of [def] statements:
- [def] is used to define a variable (like before)
  but if we assign a string such as [def var "string"] the string is evaluated to bool
  in a different way: empty string is false, not empty string is true
- added [def?] statement - similar like [def] but define a variable only if such
  a variable is not already defined
- added [let] statement - similar like [def] but with lazy evaluation (it is an alias to a function)
  if it is called to assign a string e.g. [let var "string"] then this has the
  same meaning like [def] - an alias is only created when we assign a function e.g. [let var my_function]
  both [def] and [let] are using the same Vars object
- added [let?] - make an alias but only if such a variable is not already defined
- a std::map of variables moved outside of Generator
  added method void SetVariables(Vars & variables);
- fixed: a result status was not correctly propagated when evaluating [def] statements,
  this was in Call(...) function: last_res from variables was set in Find()
  but later was overwritten by Call(...) called for parameters (recursively)
2021-05-23 10:02:51 +02:00
..
Makefile changed semantic of [def] statements: 2021-05-23 10:02:51 +02:00
Makefile.dep make depend 2021-05-14 21:02:56 +02:00
Makefile.o.dep Makefile.o.dep 2018-05-10 17:25:04 +00:00
blocks.cpp fixed: function and blocks were incorrectly cached 2014-10-19 21:09:34 +00:00
blocks.h added: now ezc functions can be methods of a special object 2015-06-14 18:20:00 +00:00
cache.cpp added: now ezc functions can be methods of a special object 2015-06-14 18:20:00 +00:00
cache.h added: now ezc functions can be methods of a special object 2015-06-14 18:20:00 +00:00
expressionparser.h some work on a 'program mode' 2018-10-30 20:59:17 +00:00
ezc.h changed: a header info in each source file to: 2014-10-17 21:48:11 +00:00
functions.h updated to the new pikotools api: changed utf8 functions PascalCase to snake_case 2021-05-21 00:32:05 +02:00
funinfo.h changed semantic of [def] statements: 2021-05-23 10:02:51 +02:00
generator.h changed semantic of [def] statements: 2021-05-23 10:02:51 +02:00
item.cpp start working on a 'program mode' 2018-10-29 23:50:10 +00:00
item.h changed semantic of [def] statements: 2021-05-23 10:02:51 +02:00
objects.h updated to the new pikotools api: changed utf8 functions PascalCase to snake_case 2021-05-21 00:32:05 +02:00
outstreams.h changed: OutStreams<>::streams_map should not have null pointers to StreamType objects 2015-11-16 12:09:34 +00:00
pattern.cpp removed: svn:executable atribute from files 2014-11-01 17:14:39 +00:00
pattern.h added: now ezc functions can be methods of a special object 2015-06-14 18:20:00 +00:00
patternparser.cpp changed semantic of [def] statements: 2021-05-23 10:02:51 +02:00
patternparser.h changed semantic of [def] statements: 2021-05-23 10:02:51 +02:00