~dheinemann/Replicalc

ref: de037ae177f0933531b7c9ac3cb3d57459968d5f Replicalc/src/main.c -rw-r--r-- 1003 bytes
de037ae1David Heinemann Fix incorrect tokenization of negative numbers 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * Replicalc, a REPL-based calculator for programmers
 * Copyright (C) 2021 David Heinemann
 * 
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#include "cursesui.h"

int main() {
    int copylen = 4;
    char* copyright[4] = {
        "Replicalc, Copyright (C) 2021 David Heinemann",
        "Replicalc comes with ABSOLUTELY NO WARRANTY.",
        "This is free software, and you are welcome to redistribute it",
        "under certain conditions. See the LICENSE file for details."
    };

    startui(copyright, copylen);
    return 0;
}