test.c 522 B

1234567891011121314151617181920212223242526272829
  1. #include "erpl.h"
  2. #include "erpli.c" // implementations
  3. #include "erple.c" // expressions evaluation
  4. void print_table_names (Table* ta) {
  5. while (ta) {
  6. print_symbol(ta->key);
  7. ta = ta->next;
  8. if (ta)
  9. putchar(' ');
  10. }
  11. putchar(10);
  12. }
  13. void show_table_content (Table* ta) {
  14. while (ta) {
  15. print_symbol(ta->key);
  16. putchar(':');
  17. putchar(' ');
  18. print_expression(ta->value);
  19. putchar(10);
  20. ta = ta->next;
  21. }
  22. }
  23. int main (int argc, char** argv) {
  24. return 0;
  25. }