Results 1 to 5 of 5

Thread: GCC module example: very very simple expression evaluator

  1. #1
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10

    GCC module example: very very simple expression evaluator

    For those loving C, here a little (very basic) expression evaluator module developed in C using DevC++

    DevC++ can be downloaded from http://www.bloodshed.net/
    After installed DevC++, just open .DEV file (.DEV files are DevC++ project files) and compile to get thinBasic dll module.

    Hope this can give you some more info on how to interface with thinBasic Core engine.

    Ciao
    Eros
    Attached Files Attached Files
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  2. #2
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    68
    Posts
    3,865
    Rep Power
    405

    Re: GCC module example: very very simple expression evaluator

    THanks for the example Eros!
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

  3. #3
    thinBasic MVPs Michael Hartlef's Avatar
    Join Date
    Sep 2006
    Location
    Germany
    Age
    58
    Posts
    3,299
    Rep Power
    348

    Re: GCC module example: very very simple expression evaluator

    Thanks Eros, that is good to have another freeware language to create modules for thinBasic.

  4. #4

    Re: GCC module example: very very simple expression evaluator

    Thanks Eros!

    I'm using DevC to try my hand at module development. I'm not much of a "C" programmer, but I'll eventually get it working. When I get it completed, I'll post the source here for your amusement. (by amusement, I mean you'll be able to laugh at my poor code! ;D )

    Randall

  5. #5
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10

    Re: GCC module example: very very simple expression evaluator

    ah, ah, ah. I've already started laughing.

    From the question you have done here about inside of variable storage and other posts, I'm pretty sure you know C much better than me. That is sure!

    In any case you source code will be a present for all of us. So thanks in advance.
    Eros
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

Similar Threads

  1. CALL keyword with function name as string expression
    By ErosOlmi in forum Sources, Templates, Code Snippets, Tips and Tricks, Do you know ...
    Replies: 0
    Last Post: 07-09-2006, 16:16

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •