Skip to content

Nim Domain Specific Language for building a GUI in the NIM programing language using the IUP GUI library

Notifications You must be signed in to change notification settings

jlp765/nim_iup_dsl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

nim_iup_dsl

Nim Domain Specific Language for building a GUI in the NIM programing language using the IUP GUI library

Requirements

Requires V3.0 of IUP library (iup30.dll for win or libiup3.0.so for Linux). It probably works with lower versions, but uses some V3.0 or higher functionality.

Unfortunately, the current IUP wrapper for Nim is IUP V3.0 or older, so DO NOT use newer version of IUP until the wrapper in Nim is updated.

Limitations

This is the first draft, so has only been tested on win7 64 bit, so far.

It does not include the canvas which requires the iupcd library.

It covers a fair proportion of widgets, but not all (yet).

known issues

Lists and toggles get overwritten (some weird memory corruption) when not compiled with -d:release

Example code

the iup_dsl.nim is INCLUDED rather than imported. See the iup_dsl_test.nim file.

About

Nim Domain Specific Language for building a GUI in the NIM programing language using the IUP GUI library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages